fix up xfstests a bit for linux+udf
PATCH 1/1 fix up xfstests a bit for linux+udf
udf on linux doesn't support acls or attrs, so prevent those tests from running.
020 +0 -0
@@ -65,7 +65,7 @@ _attr_list()
# real QA test starts here -_supported_fs xfs udf +_supported_fs xfs _supported_os Linux
[ -x /usr/bin/attr ] || _notrun "attr is not installed"
051 +0 -0
@@ -56,7 +56,7 @@ _cleanup()
#
# real QA test starts here -_supported_fs xfs udf +_supported_fs xfs _supported_os Linux
[ -x /usr/bin/chacl ] || _notrun "chacl executable not found"
062 +0 -0
@@ -102,7 +102,7 @@ _create_test_bed()
}
# real QA test starts here -_supported_fs xfs udf nfs +_supported_fs xfs nfs _supported_os Linux
_require_scratch
070 +0 -0
@@ -33,6 +33,7 @@ _cleanup()
_supported_fs xfs udf nfs_supported_os IRIX Linux
+[ "$FSTYP" == udf -a "$HOSTOS" == Linux ] && _notrun "Linux UDF does not support extended attributes" _setup_testdir
$FSSTRESS_PROG \
105 +0 -0
@@ -35,6 +35,8 @@ _cleanup()
_supported_fs xfs udf_supported_os IRIX Linux
+[ "$FSTYP" == udf -a "$HOSTOS" == Linux ] && _notrun "Linux UDF does not support ACLS" +
# real QA test starts here
rm -f $seq.full
Thanks, Eric.
We probably should make all ACL/EA tests load up common.attr (update ones which aren't already - likely the non-acl tests as common.attr really has acl stuff at the moment) and then do the udf/linux test in common.attr.
--Tim
Quoted 59 lines · --On 17 May 2007 11:47:23 AM -0500 Eric Sandeen <[email protected]> wrote:
udf on linux doesn't support acls or attrs, so prevent those tests from running.
Signed-off-by Eric Sandeen <[email protected]>Index: xfstests/020
===================================================================020 +1
-1@@ -65,7 +65,7 @@ _attr_list() # real QA test starts here -_supported_fs xfs udf +_supported_fs xfs _supported_os Linux [ -x /usr/bin/attr ] || _notrun "attr is not installed"Index: xfstests/051
===================================================================051 +1
-1@@ -56,7 +56,7 @@ _cleanup() # # real QA test starts here -_supported_fs xfs udf +_supported_fs xfs _supported_os Linux [ -x /usr/bin/chacl ] || _notrun "chacl executable not found"Index: xfstests/062
===================================================================062 +1
-1@@ -102,7 +102,7 @@ _create_test_bed() } # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs xfs nfs _supported_os Linux _require_scratchIndex: xfstests/070
===================================================================070 +0
-0@@ -33,6 +33,7 @@ _cleanup() _supported_fs xfs udf nfs _supported_os IRIX Linux +[ "$FSTYP" == udf -a "$HOSTOS" == Linux ] && _notrun "Linux UDF does not support extendedattributes"
_setup_testdir
$FSSTRESS_PROG \
Index: xfstests/105
===================================================================105 +1
-0@@ -35,6 +35,8 @@ _cleanup() _supported_fs xfs udf _supported_os IRIX Linux +[ "$FSTYP" == udf -a "$HOSTOS" == Linux ] && _notrun "Linux UDF does not support ACLS" + # real QA test starts here rm -f $seq.full
Quoted 6 lines · Timothy Shimmin
Thanks, Eric.
We probably should make all ACL/EA tests load up common.attr (update ones which aren't already - likely the non-acl tests as common.attr really has acl stuff at the moment) and then do the udf/linux test in common.attr.
ok, I can do that. I hit a couple other changes, I'll send them all along when I can.
-Eric
Quoted 70 lines
--Tim
--On 17 May 2007 11:47:23 AM -0500 Eric Sandeen <[email protected]>
Quoted 61 lines · wrote:
udf on linux doesn't support acls or attrs, so prevent those tests from running.
Signed-off-by Eric Sandeen <[email protected]>Index: xfstests/020
===================================================================020 +1
-1@@ -65,7 +65,7 @@ _attr_list() # real QA test starts here -_supported_fs xfs udf +_supported_fs xfs _supported_os Linux [ -x /usr/bin/attr ] || _notrun "attr is not installed"Index: xfstests/051
===================================================================051 +1
-1@@ -56,7 +56,7 @@ _cleanup() # # real QA test starts here -_supported_fs xfs udf +_supported_fs xfs _supported_os Linux [ -x /usr/bin/chacl ] || _notrun "chacl executable not found"Index: xfstests/062
===================================================================062 +1
-1@@ -102,7 +102,7 @@ _create_test_bed() } # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs xfs nfs _supported_os Linux _require_scratchIndex: xfstests/070
===================================================================070 +0
-0@@ -33,6 +33,7 @@ _cleanup() _supported_fs xfs udf nfs _supported_os IRIX Linux +[ "$FSTYP" == udf -a "$HOSTOS" == Linux ] && _notrun "Linux UDF doesnot support extended
attributes"
_setup_testdir
$FSSTRESS_PROG \
Index: xfstests/105
===================================================================105 +0
-0@@ -35,6 +35,8 @@ _cleanup() _supported_fs xfs udf _supported_os IRIX Linux +[ "$FSTYP" == udf -a "$HOSTOS" == Linux ] && _notrun "Linux UDF doesnot support ACLS"
+# real QA test starts here rm -f $seq.full