diff options
author | Theodore Ts'o <tytso@mit.edu> | 2016-02-19 10:49:17 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-19 10:49:17 +1100 |
commit | 56ff01f471c9b72de0a447b37cdb1051adcede6a (patch) | |
tree | d1c96160ce5d6569aaf79dac059523cd1fd07b46 /tests/generic | |
parent | 99fd47b2b2c8639753e44c1014bc6902109c4741 (diff) |
xfstests: remove _need_to_be_root
The check script requires that it be run as root, so adding
individualized checks for this in each teat is not needed.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tests/generic')
57 files changed, 0 insertions, 58 deletions
diff --git a/tests/generic/019 b/tests/generic/019 index 1137ffe9..84e62f5c 100755 --- a/tests/generic/019 +++ b/tests/generic/019 @@ -37,7 +37,6 @@ status=1 # failure is the default! . ./common/filter _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_fail_make_request diff --git a/tests/generic/026 b/tests/generic/026 index ab75839c..4d3fac68 100755 --- a/tests/generic/026 +++ b/tests/generic/026 @@ -50,7 +50,6 @@ _supported_fs generic _supported_os Linux _require_test _require_scratch -_need_to_be_root _acl_setup_ids _require_acls _require_acl_get_max diff --git a/tests/generic/034 b/tests/generic/034 index 1065c702..6727b98b 100755 --- a/tests/generic/034 +++ b/tests/generic/034 @@ -50,7 +50,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/037 b/tests/generic/037 index 76e3bf40..d7dcfe2b 100755 --- a/tests/generic/037 +++ b/tests/generic/037 @@ -51,7 +51,6 @@ _cleanup() . ./common/attr # real QA test starts here -_need_to_be_root _supported_fs generic _supported_os Linux _require_scratch diff --git a/tests/generic/038 b/tests/generic/038 index 4d3977a0..59aed67a 100755 --- a/tests/generic/038 +++ b/tests/generic/038 @@ -65,7 +65,6 @@ _cleanup() . ./common/filter # real QA test starts here -_need_to_be_root _supported_fs generic _supported_os Linux _require_scratch diff --git a/tests/generic/039 b/tests/generic/039 index 21c04d25..7d62393e 100755 --- a/tests/generic/039 +++ b/tests/generic/039 @@ -54,7 +54,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/040 b/tests/generic/040 index 7e90e004..2aeccdd3 100755 --- a/tests/generic/040 +++ b/tests/generic/040 @@ -59,7 +59,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/041 b/tests/generic/041 index 78163891..283c305e 100755 --- a/tests/generic/041 +++ b/tests/generic/041 @@ -63,7 +63,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/056 b/tests/generic/056 index b7206909..6ca3b1ac 100755 --- a/tests/generic/056 +++ b/tests/generic/056 @@ -52,7 +52,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/057 b/tests/generic/057 index fa4d17a6..76f438ed 100755 --- a/tests/generic/057 +++ b/tests/generic/057 @@ -52,7 +52,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/059 b/tests/generic/059 index de4e7ce0..c3a60448 100755 --- a/tests/generic/059 +++ b/tests/generic/059 @@ -57,7 +57,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/065 b/tests/generic/065 index 37077d53..935f414b 100755 --- a/tests/generic/065 +++ b/tests/generic/065 @@ -53,7 +53,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/066 b/tests/generic/066 index 3c215bd8..c42b11bb 100755 --- a/tests/generic/066 +++ b/tests/generic/066 @@ -57,7 +57,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_attrs diff --git a/tests/generic/071 b/tests/generic/071 index 1b0f558d..65ed0c73 100755 --- a/tests/generic/071 +++ b/tests/generic/071 @@ -45,7 +45,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_xfs_io_command "falloc" diff --git a/tests/generic/073 b/tests/generic/073 index 1c92c66f..9e3794fd 100755 --- a/tests/generic/073 +++ b/tests/generic/073 @@ -53,7 +53,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/090 b/tests/generic/090 index 1bc9b161..eeb1831e 100755 --- a/tests/generic/090 +++ b/tests/generic/090 @@ -51,7 +51,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/093 b/tests/generic/093 index 8f810a66..af588885 100755 --- a/tests/generic/093 +++ b/tests/generic/093 @@ -65,8 +65,6 @@ _require_attrs rm -f $seqres.full -_need_to_be_root - echo "QA output created by $seq" echo "" file=$TEST_DIR/$seq.file diff --git a/tests/generic/098 b/tests/generic/098 index 49456300..838bb5de 100755 --- a/tests/generic/098 +++ b/tests/generic/098 @@ -46,7 +46,6 @@ _cleanup() . ./common/filter # real QA test starts here -_need_to_be_root _supported_fs generic _supported_os Linux _require_scratch diff --git a/tests/generic/101 b/tests/generic/101 index 8771a173..f4f6c362 100755 --- a/tests/generic/101 +++ b/tests/generic/101 @@ -47,7 +47,6 @@ _cleanup() . ./common/dmflakey # real QA test starts here -_need_to_be_root _supported_fs generic _supported_os Linux _require_scratch diff --git a/tests/generic/102 b/tests/generic/102 index abc39948..3cdc2ba6 100755 --- a/tests/generic/102 +++ b/tests/generic/102 @@ -41,7 +41,6 @@ trap "exit \$status" 0 1 2 3 15 . ./common/filter # real QA test starts here -_need_to_be_root _supported_fs generic _supported_os Linux _require_scratch diff --git a/tests/generic/104 b/tests/generic/104 index ceab94b3..79171994 100755 --- a/tests/generic/104 +++ b/tests/generic/104 @@ -45,7 +45,6 @@ _cleanup() . ./common/dmflakey # real QA test starts here -_need_to_be_root _supported_fs generic _supported_os Linux _require_scratch diff --git a/tests/generic/106 b/tests/generic/106 index 9dd2e6b2..efad8c83 100755 --- a/tests/generic/106 +++ b/tests/generic/106 @@ -44,7 +44,6 @@ _cleanup() . ./common/dmflakey # real QA test starts here -_need_to_be_root _supported_fs generic _supported_os Linux _require_scratch diff --git a/tests/generic/107 b/tests/generic/107 index 6b5f2bbe..e0a92457 100755 --- a/tests/generic/107 +++ b/tests/generic/107 @@ -47,7 +47,6 @@ _cleanup() . ./common/dmflakey # real QA test starts here -_need_to_be_root _supported_fs generic _supported_os Linux _require_scratch diff --git a/tests/generic/177 b/tests/generic/177 index c11d1c6f..0aeb8e4e 100755 --- a/tests/generic/177 +++ b/tests/generic/177 @@ -48,7 +48,6 @@ _cleanup() . ./common/dmflakey # real QA test starts here -_need_to_be_root _supported_fs generic _supported_os Linux _require_scratch diff --git a/tests/generic/193 b/tests/generic/193 index cd3c0b0e..6d0754f4 100755 --- a/tests/generic/193 +++ b/tests/generic/193 @@ -72,7 +72,6 @@ _supported_os Linux _require_test _require_user -_need_to_be_root test_root=$TEST_DIR/$seq.$$.root test_user=$TEST_DIR/$seq.$$.user diff --git a/tests/generic/230 b/tests/generic/230 index 0b1b3bfb..8efa65d8 100755 --- a/tests/generic/230 +++ b/tests/generic/230 @@ -45,7 +45,6 @@ _supported_os Linux #IRIX _require_scratch _require_quota _require_user -_need_to_be_root test_files() { diff --git a/tests/generic/231 b/tests/generic/231 index feda0c16..3133cfe9 100755 --- a/tests/generic/231 +++ b/tests/generic/231 @@ -69,7 +69,6 @@ _supported_os Linux _require_scratch _require_quota _require_user -_need_to_be_root _scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" diff --git a/tests/generic/232 b/tests/generic/232 index 13238095..6b197791 100755 --- a/tests/generic/232 +++ b/tests/generic/232 @@ -69,7 +69,6 @@ _supported_fs generic _supported_os Linux _require_scratch _require_quota -_need_to_be_root _scratch_mkfs > $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" diff --git a/tests/generic/233 b/tests/generic/233 index d50d280d..1405d0e8 100755 --- a/tests/generic/233 +++ b/tests/generic/233 @@ -74,7 +74,6 @@ _supported_os Linux _require_scratch _require_quota _require_user -_need_to_be_root _scratch_mkfs > $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" diff --git a/tests/generic/234 b/tests/generic/234 index 30be0e91..75a2c23c 100755 --- a/tests/generic/234 +++ b/tests/generic/234 @@ -91,7 +91,6 @@ _supported_fs generic _supported_os Linux #IRIX _require_scratch _require_quota -_need_to_be_root # real QA test starts here rm -f $seqres.full diff --git a/tests/generic/235 b/tests/generic/235 index e27fd3df..59456b67 100755 --- a/tests/generic/235 +++ b/tests/generic/235 @@ -45,7 +45,6 @@ _supported_os Linux #IRIX _require_scratch _require_quota _require_user -_need_to_be_root # real QA test starts here rm -f $seqres.full diff --git a/tests/generic/237 b/tests/generic/237 index f2669cd2..75b1b55f 100755 --- a/tests/generic/237 +++ b/tests/generic/237 @@ -55,7 +55,6 @@ _require_test rm -f $seqres.full -_need_to_be_root _acl_setup_ids _require_acls diff --git a/tests/generic/265 b/tests/generic/265 index 607867d9..8e9d5bcb 100755 --- a/tests/generic/265 +++ b/tests/generic/265 @@ -46,7 +46,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error rm -f $seqres.full diff --git a/tests/generic/266 b/tests/generic/266 index 102df766..4f9816af 100755 --- a/tests/generic/266 +++ b/tests/generic/266 @@ -46,7 +46,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error rm -f $seqres.full diff --git a/tests/generic/267 b/tests/generic/267 index 24b7b7c9..e3a6b0c1 100755 --- a/tests/generic/267 +++ b/tests/generic/267 @@ -46,7 +46,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error rm -f $seqres.full diff --git a/tests/generic/268 b/tests/generic/268 index c17ea57e..c7dcd575 100755 --- a/tests/generic/268 +++ b/tests/generic/268 @@ -47,7 +47,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error rm -f $seqres.full diff --git a/tests/generic/269 b/tests/generic/269 index d2043d4e..ee353a5e 100755 --- a/tests/generic/269 +++ b/tests/generic/269 @@ -64,7 +64,6 @@ _workout() # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch rm -f $seqres.full diff --git a/tests/generic/270 b/tests/generic/270 index 255ebf23..e6874c98 100755 --- a/tests/generic/270 +++ b/tests/generic/270 @@ -78,7 +78,6 @@ _supported_fs generic _supported_os Linux _require_quota _require_user -_need_to_be_root _require_scratch rm -f $seqres.full diff --git a/tests/generic/271 b/tests/generic/271 index 955478e9..fc3c3c65 100755 --- a/tests/generic/271 +++ b/tests/generic/271 @@ -46,7 +46,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error _require_odirect diff --git a/tests/generic/272 b/tests/generic/272 index 75602147..feaadae6 100755 --- a/tests/generic/272 +++ b/tests/generic/272 @@ -46,7 +46,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error _require_odirect diff --git a/tests/generic/276 b/tests/generic/276 index 560daba2..c6d7a639 100755 --- a/tests/generic/276 +++ b/tests/generic/276 @@ -46,7 +46,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error _require_odirect diff --git a/tests/generic/278 b/tests/generic/278 index 6d0c8288..527356de 100755 --- a/tests/generic/278 +++ b/tests/generic/278 @@ -47,7 +47,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error _require_odirect diff --git a/tests/generic/279 b/tests/generic/279 index 67da34b0..2f1ec4f6 100755 --- a/tests/generic/279 +++ b/tests/generic/279 @@ -46,7 +46,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error rm -f $seqres.full diff --git a/tests/generic/281 b/tests/generic/281 index 71e3dd71..c95acf29 100755 --- a/tests/generic/281 +++ b/tests/generic/281 @@ -46,7 +46,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error rm -f $seqres.full diff --git a/tests/generic/282 b/tests/generic/282 index 38714e0d..64520254 100755 --- a/tests/generic/282 +++ b/tests/generic/282 @@ -46,7 +46,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error rm -f $seqres.full diff --git a/tests/generic/283 b/tests/generic/283 index 6d8701f3..8d56ac34 100755 --- a/tests/generic/283 +++ b/tests/generic/283 @@ -47,7 +47,6 @@ _cleanup() _supported_os Linux _require_scratch_reflink _require_cp_reflink -_need_to_be_root _require_dm_target error rm -f $seqres.full diff --git a/tests/generic/299 b/tests/generic/299 index 4174de0d..40265c8c 100755 --- a/tests/generic/299 +++ b/tests/generic/299 @@ -41,7 +41,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_odirect diff --git a/tests/generic/300 b/tests/generic/300 index a12aba61..c187f43d 100755 --- a/tests/generic/300 +++ b/tests/generic/300 @@ -41,7 +41,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_odirect diff --git a/tests/generic/311 b/tests/generic/311 index 69bc1bfb..2d4413b9 100755 --- a/tests/generic/311 +++ b/tests/generic/311 @@ -53,7 +53,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch_nocheck _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/314 b/tests/generic/314 index 294fb234..65d35136 100755 --- a/tests/generic/314 +++ b/tests/generic/314 @@ -46,7 +46,6 @@ _supported_fs generic _require_test _require_acls _require_user -_need_to_be_root rm -rf $TEST_DIR/$seq-dir diff --git a/tests/generic/317 b/tests/generic/317 index a5d88044..9d9499ba 100755 --- a/tests/generic/317 +++ b/tests/generic/317 @@ -58,7 +58,6 @@ _supported_os Linux rm -f $seqres.full _require_scratch -_need_to_be_root _require_user _require_ugid_map _require_userns diff --git a/tests/generic/318 b/tests/generic/318 index f850a9b3..e284317b 100755 --- a/tests/generic/318 +++ b/tests/generic/318 @@ -58,7 +58,6 @@ _supported_os Linux rm -f $seqres.full _require_scratch -_need_to_be_root _acl_setup_ids _require_acls _require_ugid_map diff --git a/tests/generic/319 b/tests/generic/319 index 046969f0..d1eea4a1 100755 --- a/tests/generic/319 +++ b/tests/generic/319 @@ -52,7 +52,6 @@ _supported_os Linux _supported_fs generic _require_acls _require_scratch -_need_to_be_root rm -f $seqres.full diff --git a/tests/generic/321 b/tests/generic/321 index 7c6c8234..87985031 100755 --- a/tests/generic/321 +++ b/tests/generic/321 @@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch_nocheck _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/322 b/tests/generic/322 index 9c925a44..475a31ce 100755 --- a/tests/generic/322 +++ b/tests/generic/322 @@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch_nocheck _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV diff --git a/tests/generic/324 b/tests/generic/324 index 5e642dcb..47cb3dbc 100755 --- a/tests/generic/324 +++ b/tests/generic/324 @@ -41,7 +41,6 @@ _cleanup() # real QA test starts here _supported_os Linux -_need_to_be_root _require_scratch _require_defrag _require_xfs_io_command "falloc" diff --git a/tests/generic/325 b/tests/generic/325 index 0994ff65..a0b641a2 100755 --- a/tests/generic/325 +++ b/tests/generic/325 @@ -52,7 +52,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 # real QA test starts here _supported_fs generic _supported_os Linux -_need_to_be_root _require_scratch _require_dm_target flakey _require_metadata_journaling $SCRATCH_DEV |