]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
Support "generic" filesystem type
authorEric Sandeen <sandeen@sandeen.net>
Thu, 28 May 2009 16:37:38 +0000 (11:37 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 28 May 2009 16:37:38 +0000 (11:37 -0500)
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 <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
27 files changed:
001
002
005
006
007
010
011
013
014
069
070
074
076
093
097
099
100
105
123
124
125
128
131
184
193
common.rc
new

diff --git a/001 b/001
index 623816d9d312b48ad812f3618b44737345357ad7..4fe443dfca9fa8091ec87ceb354981a696da828f 100755 (executable)
--- 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 12dc6d5fa0d4afaa60b0b65f0dde5398b554129e..237580bad074b30bc19d136689f613cb43cac135 100755 (executable)
--- 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 7fead17c87c5964e751f05ee02c4adc9d22c394a..a9e90864a82c79787b8abf1c01341454eaea7498 100755 (executable)
--- 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 8dc0f7a2639379b881eadbaa12e6759fcaac9b2c..96f4426078cc5e5872c256e708ba5c87b5ea729c 100755 (executable)
--- 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 2a8506159bf96bfa81082b0aebefae55c99aa328..f22d09b1cedb74f9a84aec2bc4a085cf1fe5417d 100755 (executable)
--- 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 092149ca0bf14037fac30092acb521b238598773..9ee889a418c467360c4042d7313235d3f9d42a77 100755 (executable)
--- 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 f0b50899d48a8046d98b36665a464e475a79dfc9..79068501f77ad268a5a542723ef4748da45a4734 100755 (executable)
--- 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 0397ceb0a649fe97d1f0eed208f64b6eb1c8b8db..4c5612b10267e8828183f6ca865e4b3c95530d26 100755 (executable)
--- 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 14fe098818428e19dc8cb6a7f13314bc8b48a680..ce5b0f8b334f80b07b6866cad56c447a21e6ab6c 100755 (executable)
--- 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 4468eadee10d08d8b8dfbcb215dfd26972d8dcab..6763d4bcbc2de70760612fd19e23dbcccbc94ed3 100755 (executable)
--- 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 56b8217d6d1394c729cda2da1577f4900ef270dc..aeea518941ba1e6248fc5224a4815a3e945011c3 100755 (executable)
--- 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 12047a017be3088b6a967a4d75fdc9d64a03572b..9ce45635dbfccae0a8b9b0ef3f6ad90d5b5db3ff 100755 (executable)
--- 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 e2a15e948496ca851d1b6210656dafdc5affebb2..0b1a195b271fe6b908b6e2552f93764d09a8bb77 100755 (executable)
--- 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 0e349df4899244f6baf1db5dbc38b6ce1fa03dc4..32324764aca9dda919de04f991be2a41a060234a 100755 (executable)
--- 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 d314557e8747a80d7ed102faf9365d1d37596b2e..a6c57b0531e700f6e764221498278ce84c60b488 100755 (executable)
--- 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 c2299eca8a8cfc14254ccca6a9a7e50a63b577a1..4827b8976a7dd5bbac6c6042eb348d6a49d44809 100755 (executable)
--- 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 1a37d37605246e1d6232a018c20d2ddd7b78f8f6..7c22f8752956e3035c50cfc4c9e8a8dcf354e585 100755 (executable)
--- 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 6f9f0bdee6e43b7d1b50ed1a11c7257c916153d6..a98a03e3a3cdd57f93aaa09f6b4490fd1d37c3ae 100755 (executable)
--- 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 d7f49c8663fa80ca4f3ad270fc9beb98b0e8171f..f76b62cf6bf2d54ed223dfeaf07a4ecdd109942a 100755 (executable)
--- 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 98f6d4936fa70958fb7f588122ceb0dd0e6e095a..5a44656eb062924a4c4bb5d5ce9ae9f5a7b9a006 100755 (executable)
--- 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 6b1d3fe6b5df64a6857a7c6b7e42d9294a71f2fe..afc31d0f4e97fe275c8354c8fd393866f4ee0c1c 100755 (executable)
--- 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 4061355db2a780d4a060db738f83da9423b462dd..c3f311debde32ad55722adcc39a32a60677209e3 100755 (executable)
--- 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 28a55976e34bb5b3c5a30dd68ebc1ba93ce054ac..b095c2f4d01f3fde38c10ff8887db652c56ee54e 100755 (executable)
--- 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 c6ec9605b9d827a331281d6ce8a89ed19e0a4119..170e63ae91c955366bd0f3cde85872328213579b 100755 (executable)
--- 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 4649c38567cf7347795454511efb1bccf1765a11..9c676c6979784f2ce7c120800575623dd8527c74 100755 (executable)
--- 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
index 317e00969316babd6eaaf29c2616abc4daf92e0d..f649bc249c6438f2fd9c35744f0216fa01ab9e14 100644 (file)
--- 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 c924ffec9cc8377ac76dd7ec8d4e71c64d24f77b..ac612217fd0a845b8c7107246c7c5759c186021d 100755 (executable)
--- 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