diff options
Diffstat (limited to 'tests/sys')
-rwxr-xr-x | tests/sys/file/flock_test.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/sys/file/flock_test.sh b/tests/sys/file/flock_test.sh index ac3e799..ffd3d18 100755 --- a/tests/sys/file/flock_test.sh +++ b/tests/sys/file/flock_test.sh @@ -48,10 +48,11 @@ for n in `seq 1 $last_testcase`; do todomsg=" # TODO: racy testcase (doesn't handle EINTR properly)" fi - $(dirname $0)/flock_helper . $n | grep -q SUCCEED - if [ $? -eq 0 ]; then + output=$($(dirname $0)/flock_helper . $n) + if echo "$output" | grep -q SUCCEED; then echo "ok $n$todomsg" else echo "not ok $n$todomsg" + echo "$output" >&2 fi done |