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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to