Author: ngie
Date: Fri Feb 10 02:55:33 2017
New Revision: 313516
URL: https://svnweb.freebsd.org/changeset/base/313516

Log:
  MFC r307701:
  
  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
  
  PR:           213662

Modified:
  stable/10/contrib/netbsd-tests/fs/tmpfs/t_link.sh
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/contrib/netbsd-tests/fs/tmpfs/t_link.sh
==============================================================================
--- stable/10/contrib/netbsd-tests/fs/tmpfs/t_link.sh   Fri Feb 10 02:53:16 
2017        (r313515)
+++ stable/10/contrib/netbsd-tests/fs/tmpfs/t_link.sh   Fri Feb 10 02:55:33 
2017        (r313516)
@@ -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
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to