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

MFC after:	3 days
This commit is contained in:
Mark Johnston 2015-07-05 22:49:26 +00:00
parent 8bbd1f25b1
commit 31d81a4316
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285184

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