expl: Work around inaccurate implementation on NetBSD.
[gnulib.git] / tests / test-nonblocking-pipe.sh
blobdd692be7ee10716e276cc06efa4ef683d16931fe
1 #!/bin/sh
3 # Note: This test fails on Cygwin 1.5.x, because the non-blocking flag has
4 # apparently no effect on STDOUT_FILENO. It is fixed in Cygwin 1.7.
6 # Test blocking write() with blocking read().
7 # Commented out because this test succeeds on all platforms anyway.
8 #./test-nonblocking-pipe-main${EXEEXT} ./test-nonblocking-pipe-child${EXEEXT} 0 || exit 1
10 # Test non-blocking write() with blocking read().
11 ./test-nonblocking-pipe-main${EXEEXT} ./test-nonblocking-pipe-child${EXEEXT} 1 || exit 1
13 # Test blocking write() with non-blocking read().
14 ./test-nonblocking-pipe-main${EXEEXT} ./test-nonblocking-pipe-child${EXEEXT} 2 || exit 1
16 # Test non-blocking write() with non-blocking read().
17 ./test-nonblocking-pipe-main${EXEEXT} ./test-nonblocking-pipe-child${EXEEXT} 3 || exit 1