view test/bug-53956/bug-53956.tst @ 31210:9ad55d2e1bbf stable

Make sure we don't pass short 8.3 path to latex on Windows (bug #62779). * latex-text-renderer.cc (latex_renderer::write_tex_file): On Windows, use canonicalized path of temporary directory.
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Sun, 28 Aug 2022 22:44:49 +0200
parents b31a118729ed
children 332a6ccac881
line wrap: on
line source

%!test <*53956>
%! global dtor2_called dtor4_called
%!
%! dtor2_called = dtor4_called = 0;
%! x = bug53956_class_3 ();
%! clear x
%! assert (dtor2_called, 1);
%!
%! dtor2_called = dtor4_called = 0;
%! x = bug53956_class_4 ();
%! clear x
%! assert (dtor2_called, 1);
%! assert (dtor4_called, 1);
%!
%! clear -global dtor2_called dtor4_called;  # cleanup after test