Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2016 10:58:58 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r306093 - head/usr.sbin/extattr/tests
Message-ID:  <201609211058.u8LAwwSp009299@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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