All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix up xfstests a bit for linux+udf
@ 2007-05-17 16:47 Eric Sandeen
  2007-05-21  8:14 ` Timothy Shimmin
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Sandeen @ 2007-05-17 16:47 UTC (permalink / raw)
  To: xfs-oss

udf on linux doesn't support acls or attrs, so prevent those tests from running.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Index: xfstests/020
===================================================================
--- xfstests.orig/020
+++ 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"
Index: xfstests/051
===================================================================
--- xfstests.orig/051
+++ 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"
Index: xfstests/062
===================================================================
--- xfstests.orig/062
+++ 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
Index: xfstests/070
===================================================================
--- xfstests.orig/070
+++ 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 \
Index: xfstests/105
===================================================================
--- xfstests.orig/105
+++ 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fix up xfstests a bit for linux+udf
  2007-05-17 16:47 [PATCH] fix up xfstests a bit for linux+udf Eric Sandeen
@ 2007-05-21  8:14 ` Timothy Shimmin
  2007-05-21 13:15   ` Eric Sandeen
  0 siblings, 1 reply; 3+ messages in thread
From: Timothy Shimmin @ 2007-05-21  8:14 UTC (permalink / raw)
  To: Eric Sandeen, xfs-oss

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

--On 17 May 2007 11:47:23 AM -0500 Eric Sandeen <sandeen@sandeen.net> wrote:

> udf on linux doesn't support acls or attrs, so prevent those tests from running.
>
> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
>
> Index: xfstests/020
> ===================================================================
> --- xfstests.orig/020
> +++ 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"
> Index: xfstests/051
> ===================================================================
> --- xfstests.orig/051
> +++ 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"
> Index: xfstests/062
> ===================================================================
> --- xfstests.orig/062
> +++ 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
> Index: xfstests/070
> ===================================================================
> --- xfstests.orig/070
> +++ 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 \
> Index: xfstests/105
> ===================================================================
> --- xfstests.orig/105
> +++ 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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] fix up xfstests a bit for linux+udf
  2007-05-21  8:14 ` Timothy Shimmin
@ 2007-05-21 13:15   ` Eric Sandeen
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Sandeen @ 2007-05-21 13:15 UTC (permalink / raw)
  To: Timothy Shimmin; +Cc: xfs-oss

Timothy Shimmin wrote:
> 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

> --Tim
> 
> --On 17 May 2007 11:47:23 AM -0500 Eric Sandeen <sandeen@sandeen.net> 
> wrote:
> 
>> udf on linux doesn't support acls or attrs, so prevent those tests 
>> from running.
>>
>> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
>>
>> Index: xfstests/020
>> ===================================================================
>> --- xfstests.orig/020
>> +++ 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"
>> Index: xfstests/051
>> ===================================================================
>> --- xfstests.orig/051
>> +++ 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"
>> Index: xfstests/062
>> ===================================================================
>> --- xfstests.orig/062
>> +++ 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
>> Index: xfstests/070
>> ===================================================================
>> --- xfstests.orig/070
>> +++ 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 \
>> Index: xfstests/105
>> ===================================================================
>> --- xfstests.orig/105
>> +++ 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
>>
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-21 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-17 16:47 [PATCH] fix up xfstests a bit for linux+udf Eric Sandeen
2007-05-21  8:14 ` Timothy Shimmin
2007-05-21 13:15   ` Eric Sandeen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.