The bug caught by flock's test 16 was fixed by r268384.

MFC after:	3 days
This commit is contained in:
markj 2015-07-05 22:49:26 +00:00
parent f94d7a8603
commit 1478ec09c6

View File

@ -32,7 +32,6 @@
# Testcase # 11 is racy; uses an undocumented kernel interface for testing
# locking
# Testcase # 16 is racy/doesn't handle EINTR properly
last_testcase=16
echo "1..$last_testcase"
@ -42,10 +41,6 @@ for n in `seq 1 $last_testcase`; do
if [ $n -eq 11 ]; then
todomsg=" # TODO: racy testcase"
# Test 16 fails:
# F_SETLKW on locked region by two threads: FAIL ((uintptr_t)res != 0)
elif [ $n -eq 16 ]; then
todomsg=" # TODO: racy testcase (doesn't handle EINTR properly)"
fi
$(dirname $0)/flock_helper . $n | grep -q SUCCEED