svn commit: r285184 - head/tests/sys/file

Mark Johnston markj at FreeBSD.org
Sun Jul 5 22:49:27 UTC 2015


Author: markj
Date: Sun Jul  5 22:49:26 2015
New Revision: 285184
URL: https://svnweb.freebsd.org/changeset/base/285184

Log:
  The bug caught by flock's test 16 was fixed by r268384.
  
  MFC after:	3 days

Modified:
  head/tests/sys/file/flock_test.sh

Modified: head/tests/sys/file/flock_test.sh
==============================================================================
--- head/tests/sys/file/flock_test.sh	Sun Jul  5 22:44:41 2015	(r285183)
+++ head/tests/sys/file/flock_test.sh	Sun Jul  5 22:49:26 2015	(r285184)
@@ -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


More information about the svn-src-all mailing list