Skip to content

Commit

Permalink
Use TmpNameAllArchs instead of TmpName
Browse files Browse the repository at this point in the history
Otherwise, TmpName produces a non-existing path on Windows.
Closes #3309
  • Loading branch information
Alexander Konovalov authored and fingolfin committed Mar 6, 2019
1 parent f72cd2d commit bf37caf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tst/testinstall/kernel/streams.tst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gap> CLOSE_LOG_TO();
Error, LogTo: can not close the logfile
gap> LOG_TO(fail);
Error, LogTo: <filename> must be a string (not the value 'fail')
gap> LOG_TO(TmpName());
gap> LOG_TO(TmpNameAllArchs());
true
gap> CLOSE_LOG_TO();
true
Expand All @@ -25,7 +25,7 @@ gap> CLOSE_INPUT_LOG_TO();
Error, InputLogTo: can not close the logfile
gap> INPUT_LOG_TO(fail);
Error, InputLogTo: <filename> must be a string (not the value 'fail')
gap> INPUT_LOG_TO(TmpName());
gap> INPUT_LOG_TO(TmpNameAllArchs());
true
gap> CLOSE_INPUT_LOG_TO();
true
Expand All @@ -42,7 +42,7 @@ gap> CLOSE_OUTPUT_LOG_TO();
Error, OutputLogTo: can not close the logfile
gap> OUTPUT_LOG_TO(fail);
Error, OutputLogTo: <filename> must be a string (not the value 'fail')
gap> OUTPUT_LOG_TO(TmpName());
gap> OUTPUT_LOG_TO(TmpNameAllArchs());
true
gap> CLOSE_OUTPUT_LOG_TO();
true
Expand Down

0 comments on commit bf37caf

Please sign in to comment.