Skip to content

Commit

Permalink
Only run a test which requires a shell on unix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJefferson authored and alex-konovalov committed Sep 1, 2019
1 parent c11ced9 commit df36d37
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ gap> checkPartialRead := function(prog, readfunc, firstread, secondread)
> return true;
> fi;
> end;;

#@if ARCH_IS_UNIX()
gap> ForAny([1..10], x -> checkPartialRead(write, ReadLine, "aaa", "aaa\n"));
true
gap> ForAny([1..10], x -> checkPartialRead(write, ReadLine, "aaa", "aaa"));
Expand All @@ -50,4 +52,5 @@ gap> c := ReadByte(process);
gap> c := ReadByte(process);
fail
gap> CloseStream(process);
#@fi
gap> STOP_TEST("streamio.tst", 1);

0 comments on commit df36d37

Please sign in to comment.