summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-12-30 16:21:07 -0200
committerRenato Botelho <renato@netgate.com>2015-12-30 16:21:07 -0200
commitd8ff3484131f428fcc0727cd504acb5050a36490 (patch)
tree8adfbb5b779f497e621d29277fcbe1536012eeb0 /tests
parent0319542cc712df59c57f014b4f925f516bcb5b4b (diff)
parentecf8336fcdf81e2aeb30a7ab82841dd7299ceb98 (diff)
downloadFreeBSD-src-d8ff3484131f428fcc0727cd504acb5050a36490.zip
FreeBSD-src-d8ff3484131f428fcc0727cd504acb5050a36490.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sys/file/flock_test.sh5
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
OpenPOWER on IntegriCloud