svn commit: r306093 - head/usr.sbin/extattr/tests

Ruslan Bukin br at FreeBSD.org
Wed Sep 21 10:59:00 UTC 2016


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


More information about the svn-src-head mailing list