Author: br
Date: Wed Sep 21 10:58:58 2016
New Revision: 306093
URL: https://svnweb.freebsd.org/changeset/base/306093

Log:
  Disable extattr test on UFS1.
  
  This test supports native extended attributes only (e.g. UFS2)
  
  Reviewed by:  asomers, ngie
  Sponsored by: DARPA, AFRL
  Sponsored by: HEIF5
  Differential Revision:        https://reviews.freebsd.org/D7981

Modified:
  head/usr.sbin/extattr/tests/extattr_test.sh

Modified: head/usr.sbin/extattr/tests/extattr_test.sh
==============================================================================
--- head/usr.sbin/extattr/tests/extattr_test.sh Wed Sep 21 10:55:28 2016        
(r306092)
+++ head/usr.sbin/extattr/tests/extattr_test.sh Wed Sep 21 10:58:58 2016        
(r306093)
@@ -355,7 +355,11 @@ atf_init_test_cases() {
 
 check_fs() {
        case `df -T . | tail -n 1 | cut -wf 2` in
-               "ufs") ;; # UFS is fine
+               "ufs")
+               case `dumpfs . | head -1 | awk -F'[()]' '{print $2}'` in
+                       "UFS1") atf_skip "UFS1 is not supported by this test";;
+                       "UFS2") ;; # UFS2 is fine
+               esac ;;
                "zfs") ;; # ZFS is fine
                "tmpfs") atf_skip "tmpfs does not support extended attributes";;
        esac
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to