mgondan 01fc346f99
Small bugfix in unit tests
reported upstream
2023-01-29 15:08:24 +01:00

14 lines
496 B
Diff

--- swipl-9.0.4/src/Tests/files/test_pipe.pl 2023-01-27 11:09:04 +0000
+++ swipl-9.0.4/src/Tests/files/test_pipe.pl 2023-01-27 17:27:29 +0000
@@ -95,7 +95,8 @@
format(atom(A), '~w~n', [Text]).
test(cat2, error(io_error(write, _))) :-
( current_prolog_flag(windows, true)
- -> Cmd = 'cmd /c rem true'
+ -> Cmd = 'cmd /c rem true',
+ Cleanup = true
; Cmd = true,
( current_prolog_flag(signals, false)
-> on_signal(pipe, OldSigPipe, ignore),