# HG changeset patch # User Rik # Date 1589556083 25200 # Node ID 6beb610b3bcd71f77ae99177ff8e2c8e3175556b # Parent 7096f672f611055881a619c6a2262e33bfd376a6 Place BIST test file in temp directory, rather than current dir (bug #50831). * test/bug-50831/bug-50831.tst: Use tempname() to get a temporary file name located in a temp directory. diff -r 7096f672f611 -r 6beb610b3bcd test/bug-50831/bug-50831.tst --- a/test/bug-50831/bug-50831.tst Thu May 14 11:05:05 2020 +0200 +++ b/test/bug-50831/bug-50831.tst Fri May 15 08:21:23 2020 -0700 @@ -1,5 +1,5 @@ %!test -%! filename = "save-text.var"; +%! filename = tempname (); %! s.("a-b") = "bad fieldname"; %! unwind_protect %! save ("-text", filename, "s");