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
This commit is contained in:
Ruslan Bukin 2016-09-21 10:58:58 +00:00
parent bd0892ffd4
commit d68da43b7b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306093

View File

@ -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