Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2016 05:21:20 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307701 - head/contrib/netbsd-tests/fs/tmpfs
Message-ID:  <201610210521.u9L5LKKD082581@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Fri Oct 21 05:21:20 2016
New Revision: 307701
URL: https://svnweb.freebsd.org/changeset/base/307701

Log:
  Expect tests/sys/fs/tmpfs/link_test:kqueue to fail
  
  It fails with: "dir/b did not receive NOTE_LINK"
  
  Also, add needed cleanup logic to cleanup the mountpoint after the fact
  
  MFC after:	2 weeks
  PR:		213662
  Sponsored by:	Dell EMC Isilon

Modified:
  head/contrib/netbsd-tests/fs/tmpfs/t_link.sh

Modified: head/contrib/netbsd-tests/fs/tmpfs/t_link.sh
==============================================================================
--- head/contrib/netbsd-tests/fs/tmpfs/t_link.sh	Fri Oct 21 04:54:43 2016	(r307700)
+++ head/contrib/netbsd-tests/fs/tmpfs/t_link.sh	Fri Oct 21 05:21:20 2016	(r307701)
@@ -93,7 +93,18 @@ subdirs_body() {
 	test_unmount
 }
 
+# Begin FreeBSD
+if true; then
+atf_test_case kqueue cleanup
+kqueue_cleanup() {
+	Mount_Point=$(pwd)/mntpt test_unmount || :
+}
+else
+# End FreeBSD
 atf_test_case kqueue
+# Begin FreeBSD
+fi
+# End FreeBSD
 kqueue_head() {
 	atf_set "descr" "Verifies that creating a link raises the correct" \
 	                "kqueue events"
@@ -102,6 +113,10 @@ kqueue_head() {
 kqueue_body() {
 	test_mount
 
+	# Begin FreeBSD
+	atf_expect_fail "fails with: dir/b did not receive NOTE_LINK - bug 213662"
+	# End FreeBSD
+
 	atf_check -s eq:0 -o empty -e empty mkdir dir
 	atf_check -s eq:0 -o empty -e empty touch dir/a
 	echo 'ln dir/a dir/b' | kqueue_monitor 2 dir dir/a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610210521.u9L5LKKD082581>