Skip to contentSkip to conversation

fix up xfstests a bit for linux+udf

PATCH In review Eric Sandeen 2 participants 3 messages May 17, 2007 – May 21, 2007

lore
Share & tools
lore
#0 lore raw

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
Index: xfstests/020
===================================================================
@@ -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
Index: xfstests/051
===================================================================
@@ -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
Index: xfstests/062
===================================================================
@@ -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
Index: xfstests/070
===================================================================
@@ -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
Index: xfstests/105
===================================================================
@@ -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

#1 lore raw

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.

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_scratch

Index: 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 extended

attributes"
_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
 
#2 lore raw
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.

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_scratch

Index: 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 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 does 

not support ACLS"
+

 # real QA test starts here
  rm -f $seq.full