From: Eric Sandeen Date: Thu, 28 May 2009 16:37:38 +0000 (-0500) Subject: Support "generic" filesystem type X-Git-Tag: v1.1.0~295 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7737a5d7fb37ea15513af2ceef897828c5b74a4a;p=xfstests-dev.git Support "generic" filesystem type Create a new "generic" _supported_fs type for tests which are not really filesystem-specific. "generic" tests do expect that acl & attr are supported though. Signed-off-by: Eric Sandeen Reviewed-by: Christoph Hellwig --- diff --git a/001 b/001 index 623816d9..4fe443df 100755 --- a/001 +++ b/001 @@ -47,7 +47,7 @@ done_cleanup=false trap "_cleanup; rm -f $tmp.*; exit \$status" 0 1 2 3 15 # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux verbose=true diff --git a/002 b/002 index 12dc6d5f..237580ba 100755 --- a/002 +++ b/002 @@ -43,7 +43,7 @@ _cleanup() } # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux _setup_testdir diff --git a/005 b/005 index 7fead17c..a9e90864 100755 --- a/005 +++ b/005 @@ -67,7 +67,7 @@ _touch() . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic # IRIX UDF does not support symlinks if [ $FSTYP == 'udf' ]; then diff --git a/006 b/006 index 8dc0f7a2..96f44260 100755 --- a/006 +++ b/006 @@ -54,7 +54,7 @@ _count() . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux _setup_testdir diff --git a/007 b/007 index 2a850615..f22d09b1 100755 --- a/007 +++ b/007 @@ -48,7 +48,7 @@ _cleanup() . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux _setup_testdir diff --git a/010 b/010 index 092149ca..9ee889a4 100755 --- a/010 +++ b/010 @@ -56,7 +56,7 @@ _filter_dbtest() [ -x $here/src/dbtest ] || _notrun "dbtest was not built for this platform" # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux _setup_testdir diff --git a/011 b/011 index f0b50899..79068501 100755 --- a/011 +++ b/011 @@ -46,7 +46,7 @@ _cleanup() . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux _setup_testdir diff --git a/013 b/013 index 0397ceb0..4c5612b1 100755 --- a/013 +++ b/013 @@ -92,7 +92,7 @@ _do_test() # real QA test starts here -_supported_fs xfs udf +_supported_fs generic _supported_os IRIX Linux _setup_testdir diff --git a/014 b/014 index 14fe0988..ce5b0f8b 100755 --- a/014 +++ b/014 @@ -44,7 +44,7 @@ _cleanup() . ./common.rc . ./common.filter -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux _setup_testdir diff --git a/069 b/069 index 4468eade..6763d4bc 100755 --- a/069 +++ b/069 @@ -37,7 +37,7 @@ trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15 . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux _require_scratch diff --git a/070 b/070 index 56b8217d..aeea5189 100755 --- a/070 +++ b/070 @@ -44,7 +44,7 @@ _cleanup() . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux _setup_testdir diff --git a/074 b/074 index 12047a01..9ce45635 100755 --- a/074 +++ b/074 @@ -111,7 +111,7 @@ _process_args() # real QA test starts here rm -f $here/$seq.full -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux # diff --git a/076 b/076 index e2a15e94..0b1a195b 100755 --- a/076 +++ b/076 @@ -53,7 +53,7 @@ trap "_cleanup; rm -f $tmp.*; exit \$status" 0 1 2 3 15 . ./common.filter # real QA test starts here -_supported_fs xfs udf +_supported_fs generic _supported_os IRIX Linux _require_scratch diff --git a/093 b/093 index 0e349df4..32324764 100755 --- a/093 +++ b/093 @@ -57,7 +57,7 @@ _filefilter() } # real QA test starts here -_supported_fs xfs udf +_supported_fs generic _supported_os IRIX [ -x $runas ] || _notrun "$runas executable not found" diff --git a/097 b/097 index d314557e..a6c57b05 100755 --- a/097 +++ b/097 @@ -72,7 +72,7 @@ else fi # real QA test starts here -_supported_fs udf xfs +_supported_fs generic _supported_os IRIX _require_scratch diff --git a/099 b/099 index c2299eca..4827b897 100755 --- a/099 +++ b/099 @@ -77,7 +77,7 @@ rm -f $seq.full #------------------------------------------------------- # real QA test starts here -_supported_fs xfs udf +_supported_fs generic _supported_os IRIX _acl_setup_ids diff --git a/100 b/100 index 1a37d376..7c22f875 100755 --- a/100 +++ b/100 @@ -43,7 +43,7 @@ _cleanup() } # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux # Use _populate_fs() in common.rc to create a directory structure. diff --git a/105 b/105 index 6f9f0bde..a98a03e3 100755 --- a/105 +++ b/105 @@ -46,7 +46,7 @@ _cleanup() . ./common.attr # Modify as appropriate. -_supported_fs xfs udf +_supported_fs generic _supported_os IRIX Linux # real QA test starts here diff --git a/123 b/123 index d7f49c86..f76b62cf 100755 --- a/123 +++ b/123 @@ -71,7 +71,7 @@ _user_do() . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os Linux IRIX _require_user diff --git a/124 b/124 index 98f6d493..5a44656e 100755 --- a/124 +++ b/124 @@ -47,7 +47,7 @@ _cleanup() . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os Linux _setup_testdir diff --git a/125 b/125 index 6b1d3fe6..afc31d0f 100755 --- a/125 +++ b/125 @@ -42,7 +42,7 @@ _cleanup() . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os Linux _require_user diff --git a/128 b/128 index 4061355d..c3f311de 100755 --- a/128 +++ b/128 @@ -43,7 +43,7 @@ _cleanup() . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os Linux _setup_testdir diff --git a/131 b/131 index 28a55976..b095c2f4 100755 --- a/131 +++ b/131 @@ -42,7 +42,7 @@ _cleanup() . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os Linux _setup_testdir diff --git a/184 b/184 index c6ec9605..170e63ae 100755 --- a/184 +++ b/184 @@ -44,7 +44,7 @@ _cleanup() . ./common.filter # real QA test starts here -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux _setup_testdir diff --git a/193 b/193 index 4649c385..9c676c69 100755 --- a/193 +++ b/193 @@ -63,7 +63,7 @@ _cleanup_files() . ./common.filter # real QA test starts here -_supported_fs xfs nfs udf +_supported_fs generic _supported_os Linux _require_user diff --git a/common.rc b/common.rc index 317e0096..f649bc24 100644 --- a/common.rc +++ b/common.rc @@ -546,7 +546,7 @@ _supported_fs() { for f do - if [ "$f" = "$FSTYP" ] + if [ "$f" = "$FSTYP" -o "$f" = "generic" ] then return fi diff --git a/new b/new index c924ffec..ac612217 100755 --- a/new +++ b/new @@ -99,7 +99,7 @@ _cleanup() # real QA test starts here # Modify as appropriate. -_supported_fs xfs udf nfs +_supported_fs generic _supported_os IRIX Linux # if error