@@ -172,10 +172,6 @@ Test script environment:
3. By default, tests are run as the same uid as the person
executing the control script "check" that runs the test scripts.
- If you need to be root, add a call to the shell procedure
- _need_to_be_root ... this will do nothing or exit with an
- error message depending on your current uid.
-
4. Some other useful shell procedures:
_get_fqdn - echo the host's fully qualified
@@ -60,8 +60,6 @@ session_label="stress_$seq"
nobody=4 # define this uid/gid as a number
do_quota_check=true # do quota check if quotas enabled
-_need_to_be_root
-
# install our cleaner
trap "_cleanup; exit \$status" 0 1 2 3 15
@@ -1076,19 +1076,6 @@ _fix_malloc()
'
}
-# check if run as root
-#
-_need_to_be_root()
-{
- id=`id | $SED_PROG -e 's/(.*//' -e 's/.*=//'`
- if [ "$id" -ne 0 ]
- then
- echo "Arrgh ... you need to be root (not uid=$id) to run this test"
- exit 1
- fi
-}
-
-
#
# _df_device : get an IRIX style df line for a given device
#
@@ -41,7 +41,6 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
. ./common/rc
. ./common/filter
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -46,7 +46,6 @@ _cleanup()
. ./common/rc
. ./common/filter
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -47,7 +47,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -47,7 +47,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -59,7 +59,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_require_scratch_nocheck
_require_scratch_dev_pool 4
@@ -48,7 +48,6 @@ _cleanup()
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -47,7 +47,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
rm -f $seqres.full
@@ -42,7 +42,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -55,7 +55,6 @@ _supported_os Linux
_require_test
_require_scratch
_require_cp_reflink
-_need_to_be_root
reflink_test_dir=$TEST_DIR/test-$seq
rm -rf $reflink_test_dir
@@ -54,7 +54,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
rm -f $seqres.full
@@ -52,7 +52,6 @@ _supported_os Linux
_require_test
_require_scratch
_require_cp_reflink
-_need_to_be_root
_checksum_files()
{
@@ -44,7 +44,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
rm -f $seqres.full
@@ -51,7 +51,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
rm -f $seqres.full
@@ -50,7 +50,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
rm -f $seqres.full
@@ -53,7 +53,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
rm -f $seqres.full
@@ -53,7 +53,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
rm -f $seqres.full
@@ -53,7 +53,6 @@ _supported_fs btrfs
_supported_os Linux
_require_test
_require_scratch
-_need_to_be_root
rm -f $seqres.full
mkdir $restore_dir
@@ -49,7 +49,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
rm -f $seqres.full
@@ -54,7 +54,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
rm -f $seqres.full
@@ -70,7 +70,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
rm -f $seqres.full
@@ -54,7 +54,6 @@ _supported_os Linux
_require_test
_require_scratch
_require_fssum
-_need_to_be_root
rm -f $seqres.full
rm -fr $send_files_dir
@@ -62,7 +62,6 @@ _require_scratch
_require_fssum
_require_xfs_io_command "fiemap"
_require_btrfs_send_stream_version
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -48,7 +48,6 @@ _supported_os Linux
_require_test
_require_scratch
_require_btrfs "property"
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -48,7 +48,6 @@ _cleanup()
# real QA test starts here
_supported_fs btrfs
_supported_os Linux
-_need_to_be_root
_require_scratch
_require_dm_target flakey
@@ -54,7 +54,6 @@ _supported_os Linux
_require_test
_require_scratch
_require_fssum
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -51,7 +51,6 @@ _supported_os Linux
_require_test
_require_scratch
_require_fssum
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -45,7 +45,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_cloner
-_need_to_be_root
rm -f $seqres.full
@@ -54,7 +54,6 @@ _require_test
_require_scratch
_require_fssum
_require_attrs
-_need_to_be_root
# max(16384, PAGE_SIZE) is the default leaf/node size on btrfs-progs v3.12+.
# Older versions just use max(4096, PAGE_SIZE).
@@ -60,7 +60,6 @@ _supported_fs btrfs
_supported_os Linux
_require_test
_require_scratch
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -51,7 +51,6 @@ _require_scratch
_require_cloner
_require_btrfs_fs_feature "no_holes"
_require_btrfs_mkfs_feature "no-holes"
-_need_to_be_root
rm -f $seqres.full
@@ -56,7 +56,6 @@ _require_cloner
_require_btrfs_fs_feature "no_holes"
_require_btrfs_mkfs_feature "no-holes"
_require_dm_target flakey
-_need_to_be_root
rm -f $seqres.full
@@ -42,7 +42,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -56,7 +56,6 @@ _require_scratch
# Requiring flink command tests for the presence of the -T option used
# to pass O_TMPFILE to open(2).
_require_xfs_io_command "flink"
-_need_to_be_root
rm -f $seqres.full
@@ -51,7 +51,6 @@ _supported_os Linux
_require_test
_require_scratch
_require_btrfs "property"
-_need_to_be_root
rm -f $seqres.full
@@ -50,7 +50,6 @@ _supported_fs btrfs
_supported_os Linux
_require_test
_require_scratch
-_need_to_be_root
rm -f $seqres.full
@@ -58,7 +58,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -48,7 +48,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -58,7 +58,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
# Since xfs_io's fiemap always use SYNC flag and can't be unset,
# we must use filefrag to call fiemap without SYNC flag.
_require_command "/usr/sbin/filefrag" filefrag
@@ -53,7 +53,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch_nocheck
@@ -50,7 +50,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -52,7 +52,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -51,7 +51,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -55,7 +55,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_dm_target flakey
-_need_to_be_root
BTRFS_DEBUG_TREE_PROG="`set_prog_path btrfs-debug-tree`"
_require_command "$BTRFS_DEBUG_TREE_PROG" btrfs-debug-tree
@@ -53,7 +53,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_cloner
-_need_to_be_root
rm -f $seqres.full
@@ -57,7 +57,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -51,7 +51,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fail_make_request
-_need_to_be_root
SYSFS_BDEV=`_sysfs_dev $SCRATCH_DEV`
@@ -46,7 +46,6 @@ _cleanup()
# real QA test starts here
# Modify as appropriate.
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -43,7 +43,6 @@ _cleanup()
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -56,7 +56,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_fssum
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -50,7 +50,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_cloner
-_need_to_be_root
rm -f $seqres.full
@@ -56,7 +56,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_cloner
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -48,7 +48,6 @@ _cleanup()
. ./common/dmflakey
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -40,7 +40,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -46,7 +46,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_cloner
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -44,7 +44,6 @@ _cleanup()
. ./common/dmflakey
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -46,7 +46,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
# Use big blocksize to ensure there is still enough space left for metadata
# space reserve.
@@ -44,7 +44,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
-_need_to_be_root
_require_scratch_dev_pool 3
_require_dm_target error
@@ -44,7 +44,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
-_need_to_be_root
_require_scratch_dev_pool 3
_require_btrfs_dev_del_by_devid
_require_dm_target error
@@ -41,7 +41,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -41,7 +41,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -58,7 +58,6 @@ rm -f $seqres.full
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
rm -f $seqres.full
@@ -48,7 +48,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -109,4 +108,4 @@ echo "File digest in the new filesystem:"
md5sum $SCRATCH_MNT/mysnap2_ro/foo/bar | _filter_scratch
status=0
-exit
\ No newline at end of file
+exit
@@ -43,7 +43,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -50,7 +50,6 @@ rm -f $seqres.full
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
# Use 64K file size to match any sectorsize
# And with a unaligned tailing range to ensure it will be at least 2 pages
@@ -47,7 +47,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
_require_cp_reflink
_require_xfs_io_command "fpunch"
@@ -47,7 +47,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
_require_cp_reflink
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -46,7 +46,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -46,7 +46,6 @@ _cleanup()
_supported_fs btrfs
_supported_os Linux
_require_scratch
-_need_to_be_root
send_files_dir=$TEST_DIR/btrfs-test-$seq
@@ -42,7 +42,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -44,7 +44,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -44,7 +44,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs btrfs
_supported_os Linux
_require_scratch
@@ -49,7 +49,6 @@ _supported_fs btrfs
_supported_os Linux
_require_scratch
_require_cp_reflink
-_need_to_be_root
rm -f $seqres.full
@@ -38,7 +38,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_fs ext4
_supported_os Linux
-_need_to_be_root
_require_scratch
rm -f $seqres.full
@@ -40,7 +40,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_os Linux
_supported_fs ext4
-_need_to_be_root
_require_scratch
_require_defrag
@@ -41,7 +41,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_os Linux
_supported_fs ext4
-_need_to_be_root
_require_scratch
_require_defrag
@@ -41,7 +41,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_os Linux
_supported_fs ext4
-_need_to_be_root
_require_scratch
_require_defrag
@@ -42,7 +42,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
# real QA test starts here
_supported_os Linux
_supported_fs ext4
-_need_to_be_root
_require_scratch
_require_defrag
@@ -61,7 +61,6 @@ _workout()
_supported_fs generic
_supported_fs ext4
_supported_os Linux
-_need_to_be_root
_require_scratch
_require_defrag
_require_xfs_io_command "falloc"
@@ -43,7 +43,6 @@ _cleanup()
# real QA test starts here
_supported_os Linux
-_need_to_be_root
_require_scratch
_require_defrag
_require_xfs_io_command "falloc"
@@ -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
@@ -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
@@ -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
@@ -51,7 +51,6 @@ _cleanup()
. ./common/attr
# real QA test starts here
-_need_to_be_root
_supported_fs generic
_supported_os Linux
_require_scratch
@@ -65,7 +65,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs generic
_supported_os Linux
_require_scratch
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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"
@@ -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
@@ -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
@@ -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
@@ -46,7 +46,6 @@ _cleanup()
. ./common/filter
# real QA test starts here
-_need_to_be_root
_supported_fs generic
_supported_os Linux
_require_scratch
@@ -47,7 +47,6 @@ _cleanup()
. ./common/dmflakey
# real QA test starts here
-_need_to_be_root
_supported_fs generic
_supported_os Linux
_require_scratch
@@ -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
@@ -45,7 +45,6 @@ _cleanup()
. ./common/dmflakey
# real QA test starts here
-_need_to_be_root
_supported_fs generic
_supported_os Linux
_require_scratch
@@ -44,7 +44,6 @@ _cleanup()
. ./common/dmflakey
# real QA test starts here
-_need_to_be_root
_supported_fs generic
_supported_os Linux
_require_scratch
@@ -47,7 +47,6 @@ _cleanup()
. ./common/dmflakey
# real QA test starts here
-_need_to_be_root
_supported_fs generic
_supported_os Linux
_require_scratch
@@ -48,7 +48,6 @@ _cleanup()
. ./common/dmflakey
# real QA test starts here
-_need_to_be_root
_supported_fs generic
_supported_os Linux
_require_scratch
@@ -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
@@ -45,7 +45,6 @@ _supported_os Linux #IRIX
_require_scratch
_require_quota
_require_user
-_need_to_be_root
test_files()
{
@@ -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"
@@ -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"
@@ -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"
@@ -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
@@ -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
@@ -55,7 +55,6 @@ _require_test
rm -f $seqres.full
-_need_to_be_root
_acl_setup_ids
_require_acls
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -78,7 +78,6 @@ _supported_fs generic
_supported_os Linux
_require_quota
_require_user
-_need_to_be_root
_require_scratch
rm -f $seqres.full
@@ -46,7 +46,6 @@ _cleanup()
_supported_os Linux
_require_scratch_reflink
_require_cp_reflink
-_need_to_be_root
_require_dm_target error
_require_odirect
@@ -46,7 +46,6 @@ _cleanup()
_supported_os Linux
_require_scratch_reflink
_require_cp_reflink
-_need_to_be_root
_require_dm_target error
_require_odirect
@@ -46,7 +46,6 @@ _cleanup()
_supported_os Linux
_require_scratch_reflink
_require_cp_reflink
-_need_to_be_root
_require_dm_target error
_require_odirect
@@ -47,7 +47,6 @@ _cleanup()
_supported_os Linux
_require_scratch_reflink
_require_cp_reflink
-_need_to_be_root
_require_dm_target error
_require_odirect
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -46,7 +46,6 @@ _supported_fs generic
_require_test
_require_acls
_require_user
-_need_to_be_root
rm -rf $TEST_DIR/$seq-dir
@@ -58,7 +58,6 @@ _supported_os Linux
rm -f $seqres.full
_require_scratch
-_need_to_be_root
_require_user
_require_ugid_map
_require_userns
@@ -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
@@ -52,7 +52,6 @@ _supported_os Linux
_supported_fs generic
_require_acls
_require_scratch
-_need_to_be_root
rm -f $seqres.full
@@ -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
@@ -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
@@ -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"
@@ -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
@@ -57,7 +57,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# less than 1000 xattrs with very small values.
_supported_fs btrfs xfs
_supported_os Linux
-_need_to_be_root
_require_scratch
_require_dm_target flakey
_require_attrs
@@ -76,7 +76,6 @@ _require_test
rm -f $seqres.full
-_need_to_be_root
_acl_setup_ids
_require_acls
@@ -84,7 +84,6 @@ chattr_opt: $chattr_opt" >>$seqres.full
# real QA test starts here
_supported_fs ext3 ext4
_supported_os Linux
-_need_to_be_root
_require_scratch
rm -f $seqres.full
@@ -35,8 +35,6 @@ here=`pwd`
status=0 # success is the default!
trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
-_need_to_be_root
-
# real QA test starts here
_supported_fs xfs
_supported_os IRIX Linux
@@ -60,7 +60,6 @@ _populate_scratch()
_supported_fs xfs
_supported_os IRIX Linux
-_need_to_be_root
_require_scratch
_require_no_large_scratch_dev
@@ -40,7 +40,6 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
_supported_fs xfs
_supported_os Linux
-_need_to_be_root
_require_attrs
_require_acls
_require_scratch
@@ -309,7 +309,6 @@ _supported_os IRIX
_require_scratch
_require_attrs
-_need_to_be_root
rm -f $seqres.full
@@ -236,7 +236,6 @@ _putback_scratch_fstab()
_supported_fs xfs
_supported_os Linux
-_need_to_be_root
_require_scratch
_require_noattr2
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> --- README | 4 ---- common/dump | 2 -- common/rc | 13 ------------- tests/btrfs/002 | 1 - tests/btrfs/003 | 1 - tests/btrfs/004 | 1 - tests/btrfs/007 | 1 - tests/btrfs/011 | 1 - tests/btrfs/017 | 1 - tests/btrfs/025 | 1 - tests/btrfs/026 | 1 - tests/btrfs/029 | 1 - tests/btrfs/030 | 1 - tests/btrfs/031 | 1 - tests/btrfs/034 | 1 - tests/btrfs/037 | 1 - tests/btrfs/038 | 1 - tests/btrfs/039 | 1 - tests/btrfs/040 | 1 - tests/btrfs/041 | 1 - tests/btrfs/043 | 1 - tests/btrfs/044 | 1 - tests/btrfs/045 | 1 - tests/btrfs/046 | 1 - tests/btrfs/047 | 1 - tests/btrfs/048 | 1 - tests/btrfs/049 | 1 - tests/btrfs/050 | 1 - tests/btrfs/051 | 1 - tests/btrfs/052 | 1 - tests/btrfs/053 | 1 - tests/btrfs/054 | 1 - tests/btrfs/055 | 1 - tests/btrfs/056 | 1 - tests/btrfs/057 | 1 - tests/btrfs/058 | 1 - tests/btrfs/059 | 1 - tests/btrfs/076 | 1 - tests/btrfs/077 | 1 - tests/btrfs/078 | 1 - tests/btrfs/079 | 1 - tests/btrfs/080 | 1 - tests/btrfs/081 | 1 - tests/btrfs/083 | 1 - tests/btrfs/084 | 1 - tests/btrfs/085 | 1 - tests/btrfs/086 | 1 - tests/btrfs/087 | 1 - tests/btrfs/088 | 1 - tests/btrfs/089 | 1 - tests/btrfs/091 | 1 - tests/btrfs/092 | 1 - tests/btrfs/093 | 1 - tests/btrfs/094 | 1 - tests/btrfs/095 | 1 - tests/btrfs/096 | 1 - tests/btrfs/097 | 1 - tests/btrfs/098 | 1 - tests/btrfs/099 | 1 - tests/btrfs/100 | 1 - tests/btrfs/101 | 1 - tests/btrfs/102 | 1 - tests/btrfs/103 | 1 - tests/btrfs/104 | 1 - tests/btrfs/105 | 3 +-- tests/btrfs/106 | 1 - tests/btrfs/107 | 1 - tests/btrfs/108 | 1 - tests/btrfs/109 | 1 - tests/btrfs/110 | 1 - tests/btrfs/111 | 1 - tests/btrfs/112 | 1 - tests/btrfs/113 | 1 - tests/btrfs/116 | 1 - tests/btrfs/117 | 1 - tests/ext4/271 | 1 - tests/ext4/301 | 1 - tests/ext4/302 | 1 - tests/ext4/303 | 1 - tests/ext4/304 | 1 - tests/ext4/307 | 1 - tests/ext4/308 | 1 - tests/generic/019 | 1 - tests/generic/026 | 1 - tests/generic/034 | 1 - tests/generic/037 | 1 - tests/generic/038 | 1 - tests/generic/039 | 1 - tests/generic/040 | 1 - tests/generic/041 | 1 - tests/generic/056 | 1 - tests/generic/057 | 1 - tests/generic/059 | 1 - tests/generic/065 | 1 - tests/generic/066 | 1 - tests/generic/071 | 1 - tests/generic/073 | 1 - tests/generic/090 | 1 - tests/generic/093 | 2 -- tests/generic/098 | 1 - tests/generic/101 | 1 - tests/generic/102 | 1 - tests/generic/104 | 1 - tests/generic/106 | 1 - tests/generic/107 | 1 - tests/generic/177 | 1 - tests/generic/193 | 1 - tests/generic/230 | 1 - tests/generic/231 | 1 - tests/generic/232 | 1 - tests/generic/233 | 1 - tests/generic/234 | 1 - tests/generic/235 | 1 - tests/generic/237 | 1 - tests/generic/265 | 1 - tests/generic/266 | 1 - tests/generic/267 | 1 - tests/generic/268 | 1 - tests/generic/269 | 1 - tests/generic/270 | 1 - tests/generic/271 | 1 - tests/generic/272 | 1 - tests/generic/276 | 1 - tests/generic/278 | 1 - tests/generic/279 | 1 - tests/generic/281 | 1 - tests/generic/282 | 1 - tests/generic/283 | 1 - tests/generic/299 | 1 - tests/generic/300 | 1 - tests/generic/311 | 1 - tests/generic/314 | 1 - tests/generic/317 | 1 - tests/generic/318 | 1 - tests/generic/319 | 1 - tests/generic/321 | 1 - tests/generic/322 | 1 - tests/generic/324 | 1 - tests/generic/325 | 1 - tests/shared/002 | 1 - tests/shared/051 | 1 - tests/shared/272 | 1 - tests/xfs/003 | 2 -- tests/xfs/004 | 1 - tests/xfs/067 | 1 - tests/xfs/114 | 1 - tests/xfs/189 | 1 - 147 files changed, 1 insertion(+), 166 deletions(-)