diff options
author | David Sterba <dsterba@suse.com> | 2024-04-09 15:32:34 +0200 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2024-04-28 19:08:22 +0800 |
commit | 75d51c44fd666e61c03094fd68296a0fe01a31be (patch) | |
tree | 320eeff058a65eddc196b032215f01c5b7d398e3 | |
parent | faa4f3c67d98449dd3c51e543b253e96acc80fcd (diff) | |
download | xfstests-dev-75d51c44fd666e61c03094fd68296a0fe01a31be.tar.gz |
btrfs: remove useless comments
Remove comments from the new test template that are not relevant once
the test case is written:
- commented out common.filters (no filters used)
- Import common functions.
- real QA test starts here
- Modify as appropriate.
- get standard environment, filters and checks
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
280 files changed, 0 insertions, 704 deletions
diff --git a/tests/btrfs/001 b/tests/btrfs/001 index 6c26399903..4c9da98c25 100755 --- a/tests/btrfs/001 +++ b/tests/btrfs/001 @@ -9,11 +9,9 @@ . ./common/preamble _begin_fstest auto quick subvol snapshot -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/002 b/tests/btrfs/002 index 58f0cdcd7c..e5fe882576 100755 --- a/tests/btrfs/002 +++ b/tests/btrfs/002 @@ -9,7 +9,6 @@ . ./common/preamble _begin_fstest auto snapshot -# Import common functions. . ./common/filter _supported_fs btrfs @@ -114,7 +113,6 @@ _append_file() wait $! } -##################### real QA test starts here################################### # sv1 - is just a name nothing spl firstvol="$SCRATCH_MNT/sv1" $BTRFS_UTIL_PROG subvolume create $firstvol > /dev/null || _fail "btrfs subvolume create $firstvol failed" diff --git a/tests/btrfs/003 b/tests/btrfs/003 index fae6d9d19a..3ac53ef780 100755 --- a/tests/btrfs/003 +++ b/tests/btrfs/003 @@ -38,7 +38,6 @@ _cleanup() fi } -# Import common functions. . ./common/filter _supported_fs btrfs diff --git a/tests/btrfs/004 b/tests/btrfs/004 index 381ad072fd..2d2841ff04 100755 --- a/tests/btrfs/004 +++ b/tests/btrfs/004 @@ -22,10 +22,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_no_large_scratch_dev diff --git a/tests/btrfs/005 b/tests/btrfs/005 index 8463477081..8d66f0be64 100755 --- a/tests/btrfs/005 +++ b/tests/btrfs/005 @@ -99,11 +99,9 @@ _rundefrag() _check_scratch_fs } -# Import common functions. . ./common/filter . ./common/defrag -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/006 b/tests/btrfs/006 index bff6f980a5..cd3a0c6313 100755 --- a/tests/btrfs/006 +++ b/tests/btrfs/006 @@ -10,12 +10,8 @@ . ./common/preamble _begin_fstest auto quick volume -# Import common functions. . ./common/filter.btrfs -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_scratch_dev_pool diff --git a/tests/btrfs/007 b/tests/btrfs/007 index ed7d143a0d..2e0a918eaa 100755 --- a/tests/btrfs/007 +++ b/tests/btrfs/007 @@ -23,10 +23,8 @@ _cleanup() rm -fr $send_files_dir } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/008 b/tests/btrfs/008 index 438cec8234..bcbb72da0a 100755 --- a/tests/btrfs/008 +++ b/tests/btrfs/008 @@ -21,10 +21,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/009 b/tests/btrfs/009 index be7e2f02fd..4a151049c8 100755 --- a/tests/btrfs/009 +++ b/tests/btrfs/009 @@ -9,10 +9,8 @@ . ./common/preamble _begin_fstest auto quick subvol -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/011 b/tests/btrfs/011 index d8b5a97827..ea825ce592 100755 --- a/tests/btrfs/011 +++ b/tests/btrfs/011 @@ -38,10 +38,8 @@ _cleanup() _scratch_unmount > /dev/null 2>&1 } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch_nocheck _require_scratch_dev_pool 5 diff --git a/tests/btrfs/012 b/tests/btrfs/012 index ab90c8a720..1cb2905b3a 100755 --- a/tests/btrfs/012 +++ b/tests/btrfs/012 @@ -16,12 +16,8 @@ . ./common/preamble _begin_fstest auto convert -# Import common functions. . ./common/filter.btrfs -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_nocheck diff --git a/tests/btrfs/013 b/tests/btrfs/013 index 459b6e80a3..623de320bd 100755 --- a/tests/btrfs/013 +++ b/tests/btrfs/013 @@ -13,10 +13,8 @@ . ./common/preamble _begin_fstest auto quick balance prealloc -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_xfs_io_command "falloc" diff --git a/tests/btrfs/014 b/tests/btrfs/014 index 9e236274c5..af7a7aeb0b 100755 --- a/tests/btrfs/014 +++ b/tests/btrfs/014 @@ -26,10 +26,8 @@ _balance() done } -#get standard environment, filters and checks . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/015 b/tests/btrfs/015 index aeec8cc917..346812da18 100755 --- a/tests/btrfs/015 +++ b/tests/btrfs/015 @@ -10,10 +10,8 @@ . ./common/preamble _begin_fstest auto quick snapshot remount -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/016 b/tests/btrfs/016 index 37119363af..95e13854f7 100755 --- a/tests/btrfs/016 +++ b/tests/btrfs/016 @@ -12,10 +12,8 @@ _begin_fstest auto quick send prealloc tmp=`mktemp -d` tmp_dir=send_temp_$seq -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/017 b/tests/btrfs/017 index 496cc7df1b..aa5b7c1d1a 100755 --- a/tests/btrfs/017 +++ b/tests/btrfs/017 @@ -15,11 +15,8 @@ . ./common/preamble _begin_fstest auto quick qgroup -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch _require_scratch_qgroup diff --git a/tests/btrfs/018 b/tests/btrfs/018 index c522e20784..f9e9497a69 100755 --- a/tests/btrfs/018 +++ b/tests/btrfs/018 @@ -9,10 +9,8 @@ . ./common/preamble _begin_fstest auto quick subvol -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/019 b/tests/btrfs/019 index a5b590d32a..3ecde39fec 100755 --- a/tests/btrfs/019 +++ b/tests/btrfs/019 @@ -21,10 +21,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/020 b/tests/btrfs/020 index ac876ea342..d2d9269fe6 100755 --- a/tests/btrfs/020 +++ b/tests/btrfs/020 @@ -25,10 +25,8 @@ _cleanup() rm -f $fs_img1 $fs_img2 $fs_img3 } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_loop diff --git a/tests/btrfs/021 b/tests/btrfs/021 index 1b55834aa9..13f2ba3253 100755 --- a/tests/btrfs/021 +++ b/tests/btrfs/021 @@ -12,10 +12,8 @@ . ./common/preamble _begin_fstest auto quick balance defrag -# Import common functions. . ./common/filter -# real QA test starts here run_test() { _run_btrfs_balance_start $SCRATCH_MNT >> $seqres.full & diff --git a/tests/btrfs/022 b/tests/btrfs/022 index 32ad80bf9c..786283e9ae 100755 --- a/tests/btrfs/022 +++ b/tests/btrfs/022 @@ -9,7 +9,6 @@ . ./common/preamble _begin_fstest auto qgroup limit -# Import common functions. . ./common/filter _supported_fs btrfs diff --git a/tests/btrfs/023 b/tests/btrfs/023 index 9facf3e209..15ce7d6968 100755 --- a/tests/btrfs/023 +++ b/tests/btrfs/023 @@ -11,10 +11,8 @@ . ./common/preamble _begin_fstest auto -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch_dev_pool 4 # Zoned btrfs only supports SINGLE profile diff --git a/tests/btrfs/024 b/tests/btrfs/024 index a8ca0e1d32..2eefbe62a2 100755 --- a/tests/btrfs/024 +++ b/tests/btrfs/024 @@ -11,10 +11,8 @@ . ./common/preamble _begin_fstest auto quick compress -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_btrfs_no_nodatacow diff --git a/tests/btrfs/025 b/tests/btrfs/025 index 26f95c7d9a..1c3773be4b 100755 --- a/tests/btrfs/025 +++ b/tests/btrfs/025 @@ -21,10 +21,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_xfs_io_command "falloc" diff --git a/tests/btrfs/026 b/tests/btrfs/026 index ddd093b882..00914f10a3 100755 --- a/tests/btrfs/026 +++ b/tests/btrfs/026 @@ -10,10 +10,8 @@ . ./common/preamble _begin_fstest auto quick compress prealloc -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_xfs_io_command "falloc" diff --git a/tests/btrfs/027 b/tests/btrfs/027 index dbf12c26d0..7d3307a130 100755 --- a/tests/btrfs/027 +++ b/tests/btrfs/027 @@ -9,11 +9,8 @@ . ./common/preamble _begin_fstest auto replace volume scrub -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/028 b/tests/btrfs/028 index 0c96b2fec7..11eaecd2c6 100755 --- a/tests/btrfs/028 +++ b/tests/btrfs/028 @@ -13,10 +13,8 @@ . ./common/preamble _begin_fstest auto qgroup balance -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_btrfs_qgroup_report diff --git a/tests/btrfs/029 b/tests/btrfs/029 index 94886788c5..9b56cc73f8 100755 --- a/tests/btrfs/029 +++ b/tests/btrfs/029 @@ -18,11 +18,9 @@ . ./common/preamble _begin_fstest auto quick clone -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_test diff --git a/tests/btrfs/030 b/tests/btrfs/030 index bce5ba1e73..5b91dd21d5 100755 --- a/tests/btrfs/030 +++ b/tests/btrfs/030 @@ -28,10 +28,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/031 b/tests/btrfs/031 index b0796bae02..83a28e4cce 100755 --- a/tests/btrfs/031 +++ b/tests/btrfs/031 @@ -14,11 +14,9 @@ . ./common/preamble _begin_fstest auto quick subvol clone -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_test diff --git a/tests/btrfs/032 b/tests/btrfs/032 index 502a523b3a..b7b1fcf656 100755 --- a/tests/btrfs/032 +++ b/tests/btrfs/032 @@ -10,10 +10,8 @@ . ./common/preamble _begin_fstest auto quick remount -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/033 b/tests/btrfs/033 index 50ec5856d6..da002bcfe2 100755 --- a/tests/btrfs/033 +++ b/tests/btrfs/033 @@ -9,10 +9,8 @@ . ./common/preamble _begin_fstest auto quick send snapshot -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/034 b/tests/btrfs/034 index abda75db76..f275982634 100755 --- a/tests/btrfs/034 +++ b/tests/btrfs/034 @@ -18,10 +18,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_xfs_io_command "falloc" diff --git a/tests/btrfs/035 b/tests/btrfs/035 index 7e644ecff4..dac2fff7dc 100755 --- a/tests/btrfs/035 +++ b/tests/btrfs/035 @@ -9,11 +9,9 @@ . ./common/preamble _begin_fstest auto quick clone -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/036 b/tests/btrfs/036 index c3d13da24d..32c129c3a7 100755 --- a/tests/btrfs/036 +++ b/tests/btrfs/036 @@ -40,10 +40,8 @@ do_snapshots() done } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/037 b/tests/btrfs/037 index 61193fdd2a..4e4178cdd0 100755 --- a/tests/btrfs/037 +++ b/tests/btrfs/037 @@ -25,10 +25,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_xfs_io_command "falloc" diff --git a/tests/btrfs/038 b/tests/btrfs/038 index 13e5070137..f2f35a6b30 100755 --- a/tests/btrfs/038 +++ b/tests/btrfs/038 @@ -24,10 +24,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/039 b/tests/btrfs/039 index c2d7c20cbc..bcc9d58abf 100755 --- a/tests/btrfs/039 +++ b/tests/btrfs/039 @@ -27,10 +27,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/040 b/tests/btrfs/040 index 35bd12cd00..da5ec1faa5 100755 --- a/tests/btrfs/040 +++ b/tests/btrfs/040 @@ -27,10 +27,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/041 b/tests/btrfs/041 index 5b4577641d..35f058fa97 100755 --- a/tests/btrfs/041 +++ b/tests/btrfs/041 @@ -24,10 +24,8 @@ _cleanup() rm -fr $restore_dir } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/042 b/tests/btrfs/042 index 230f8fc05d..89742303e8 100755 --- a/tests/btrfs/042 +++ b/tests/btrfs/042 @@ -9,7 +9,6 @@ . ./common/preamble _begin_fstest auto quick qgroup limit -# Import common functions. . ./common/filter _supported_fs btrfs diff --git a/tests/btrfs/043 b/tests/btrfs/043 index 14b7cb71d0..788806b3b3 100755 --- a/tests/btrfs/043 +++ b/tests/btrfs/043 @@ -23,10 +23,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/044 b/tests/btrfs/044 index 0864d0401b..1a8f225a04 100755 --- a/tests/btrfs/044 +++ b/tests/btrfs/044 @@ -28,10 +28,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/045 b/tests/btrfs/045 index 9b23730b1e..04ba8ea0dc 100755 --- a/tests/btrfs/045 +++ b/tests/btrfs/045 @@ -44,10 +44,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/046 b/tests/btrfs/046 index 8b65fb1f1e..f0b08b6cdf 100755 --- a/tests/btrfs/046 +++ b/tests/btrfs/046 @@ -27,10 +27,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/047 b/tests/btrfs/047 index ac79b9f14b..4b3fb35411 100755 --- a/tests/btrfs/047 +++ b/tests/btrfs/047 @@ -10,12 +10,9 @@ . ./common/preamble _begin_fstest auto quick snapshot attr -# Import common functions. . ./common/filter . ./common/attr -# real QA test starts here - _supported_fs btrfs _require_attrs _require_scratch diff --git a/tests/btrfs/048 b/tests/btrfs/048 index aa2030b12d..52cc2bf8da 100755 --- a/tests/btrfs/048 +++ b/tests/btrfs/048 @@ -20,11 +20,9 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/049 b/tests/btrfs/049 index c48e4087cc..dd07c94a14 100755 --- a/tests/btrfs/049 +++ b/tests/btrfs/049 @@ -11,8 +11,6 @@ . ./common/preamble _begin_fstest quick balance auto -# real QA test starts here - _supported_fs btrfs _require_scratch_swapfile _require_scratch_dev_pool 3 diff --git a/tests/btrfs/050 b/tests/btrfs/050 index ef1b313911..7096eb83d6 100755 --- a/tests/btrfs/050 +++ b/tests/btrfs/050 @@ -25,10 +25,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/051 b/tests/btrfs/051 index f0ac86aa2c..743dfd66b8 100755 --- a/tests/btrfs/051 +++ b/tests/btrfs/051 @@ -22,10 +22,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/052 b/tests/btrfs/052 index 0d60d41325..eabe43c477 100755 --- a/tests/btrfs/052 +++ b/tests/btrfs/052 @@ -17,10 +17,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/053 b/tests/btrfs/053 index 67239f10d3..7f533bf42c 100755 --- a/tests/btrfs/053 +++ b/tests/btrfs/053 @@ -23,11 +23,9 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter . ./common/attr -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/054 b/tests/btrfs/054 index f1b5b2c3f1..daf3cb3d5f 100755 --- a/tests/btrfs/054 +++ b/tests/btrfs/054 @@ -31,11 +31,9 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter . ./common/attr -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/055 b/tests/btrfs/055 index e538636d93..900c3dba82 100755 --- a/tests/btrfs/055 +++ b/tests/btrfs/055 @@ -21,10 +21,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/056 b/tests/btrfs/056 index e126398327..128c261a27 100755 --- a/tests/btrfs/056 +++ b/tests/btrfs/056 @@ -24,11 +24,9 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/057 b/tests/btrfs/057 index e932a65721..6cb001b7af 100755 --- a/tests/btrfs/057 +++ b/tests/btrfs/057 @@ -9,10 +9,8 @@ . ./common/preamble _begin_fstest auto quick -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_qgroup_rescan diff --git a/tests/btrfs/058 b/tests/btrfs/058 index 493f2c54ef..ad7f850f61 100755 --- a/tests/btrfs/058 +++ b/tests/btrfs/058 @@ -25,10 +25,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_xfs_io_command "-T" diff --git a/tests/btrfs/059 b/tests/btrfs/059 index 8b458b341f..27be694726 100755 --- a/tests/btrfs/059 +++ b/tests/btrfs/059 @@ -19,11 +19,9 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/060 b/tests/btrfs/060 index f74d959347..27c4afe877 100755 --- a/tests/btrfs/060 +++ b/tests/btrfs/060 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/061 b/tests/btrfs/061 index fec9088217..6ed80b20f0 100755 --- a/tests/btrfs/061 +++ b/tests/btrfs/061 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/062 b/tests/btrfs/062 index 0b57681f90..5794697c84 100755 --- a/tests/btrfs/062 +++ b/tests/btrfs/062 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/063 b/tests/btrfs/063 index 99d9d2c1e8..8a95756aca 100755 --- a/tests/btrfs/063 +++ b/tests/btrfs/063 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/064 b/tests/btrfs/064 index 663442c69a..a439d58564 100755 --- a/tests/btrfs/064 +++ b/tests/btrfs/064 @@ -28,10 +28,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/065 b/tests/btrfs/065 index b1e54fc8ae..0ad8f9e0da 100755 --- a/tests/btrfs/065 +++ b/tests/btrfs/065 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/066 b/tests/btrfs/066 index feb6062e34..efe5195eb9 100755 --- a/tests/btrfs/066 +++ b/tests/btrfs/066 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/067 b/tests/btrfs/067 index 0bbfe83f0f..328d1671a1 100755 --- a/tests/btrfs/067 +++ b/tests/btrfs/067 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/068 b/tests/btrfs/068 index 7ab6fecacc..0fe541f45a 100755 --- a/tests/btrfs/068 +++ b/tests/btrfs/068 @@ -27,10 +27,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/069 b/tests/btrfs/069 index 3fbfecdbb8..f8b54b460f 100755 --- a/tests/btrfs/069 +++ b/tests/btrfs/069 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/070 b/tests/btrfs/070 index 11fddc8625..d0bd96743a 100755 --- a/tests/btrfs/070 +++ b/tests/btrfs/070 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/071 b/tests/btrfs/071 index 1a91ec4502..5096373896 100755 --- a/tests/btrfs/071 +++ b/tests/btrfs/071 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/072 b/tests/btrfs/072 index e66e49c9c0..8f6ebca090 100755 --- a/tests/btrfs/072 +++ b/tests/btrfs/072 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/073 b/tests/btrfs/073 index e6cfd92a89..f6497e31f3 100755 --- a/tests/btrfs/073 +++ b/tests/btrfs/073 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/074 b/tests/btrfs/074 index 1dd88bcd65..d35bbe1a1f 100755 --- a/tests/btrfs/074 +++ b/tests/btrfs/074 @@ -26,10 +26,8 @@ _cleanup() fi } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # we check scratch dev after each loop _require_scratch_nocheck diff --git a/tests/btrfs/075 b/tests/btrfs/075 index e10d656215..c54239e6c2 100755 --- a/tests/btrfs/075 +++ b/tests/btrfs/075 @@ -18,10 +18,8 @@ _cleanup() $UMOUNT_PROG $subvol_mnt >/dev/null 2>&1 } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/076 b/tests/btrfs/076 index 894a1ac7fa..730be879ec 100755 --- a/tests/btrfs/076 +++ b/tests/btrfs/076 @@ -17,11 +17,9 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter . ./common/defrag -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/077 b/tests/btrfs/077 index 4cfd6ed75c..7a69b98fc1 100755 --- a/tests/btrfs/077 +++ b/tests/btrfs/077 @@ -31,10 +31,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/078 b/tests/btrfs/078 index bdd7e04eac..9ebae93b12 100755 --- a/tests/btrfs/078 +++ b/tests/btrfs/078 @@ -24,10 +24,8 @@ _cleanup() rm -fr $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/079 b/tests/btrfs/079 index 22f57396e7..d13056ae8d 100755 --- a/tests/btrfs/079 +++ b/tests/btrfs/079 @@ -30,10 +30,8 @@ _cleanup() rm -fr $tmp.* $tmp } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch # Since xfs_io's fiemap always use SYNC flag and can't be unset, diff --git a/tests/btrfs/080 b/tests/btrfs/080 index ac9d9b6422..3330a9354c 100755 --- a/tests/btrfs/080 +++ b/tests/btrfs/080 @@ -28,10 +28,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch_nocheck diff --git a/tests/btrfs/081 b/tests/btrfs/081 index 65fed9a7ec..c3f84c7780 100755 --- a/tests/btrfs/081 +++ b/tests/btrfs/081 @@ -19,10 +19,8 @@ . ./common/preamble _begin_fstest auto quick clone -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/082 b/tests/btrfs/082 index 888464d332..c20896bfcf 100755 --- a/tests/btrfs/082 +++ b/tests/btrfs/082 @@ -18,10 +18,8 @@ . ./common/preamble _begin_fstest auto quick remount -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/083 b/tests/btrfs/083 index e09769dd48..df3a44377a 100755 --- a/tests/btrfs/083 +++ b/tests/btrfs/083 @@ -23,10 +23,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/084 b/tests/btrfs/084 index 04ccbb91a5..0e618f2e66 100755 --- a/tests/btrfs/084 +++ b/tests/btrfs/084 @@ -22,10 +22,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/085 b/tests/btrfs/085 index bcbf1a05dc..6726dd6282 100755 --- a/tests/btrfs/085 +++ b/tests/btrfs/085 @@ -23,11 +23,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/086 b/tests/btrfs/086 index 8c1339ab5a..b0f9609df8 100755 --- a/tests/btrfs/086 +++ b/tests/btrfs/086 @@ -18,10 +18,8 @@ . ./common/preamble _begin_fstest auto quick clone -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/087 b/tests/btrfs/087 index 59a775efff..129b83e7cb 100755 --- a/tests/btrfs/087 +++ b/tests/btrfs/087 @@ -28,10 +28,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/088 b/tests/btrfs/088 index 59972ae7a1..1696d02a59 100755 --- a/tests/btrfs/088 +++ b/tests/btrfs/088 @@ -16,11 +16,9 @@ . ./common/preamble _begin_fstest auto quick metadata -# Import common functions. . ./common/filter . ./common/fail_make_request -# real QA test starts here _supported_fs btrfs _require_scratch _require_fail_make_request diff --git a/tests/btrfs/089 b/tests/btrfs/089 index e0b61e8ef7..9460d4e8bf 100755 --- a/tests/btrfs/089 +++ b/tests/btrfs/089 @@ -11,13 +11,9 @@ . ./common/preamble _begin_fstest auto quick subvol -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/090 b/tests/btrfs/090 index 3693a3ad0f..d89f933858 100755 --- a/tests/btrfs/090 +++ b/tests/btrfs/090 @@ -16,12 +16,8 @@ . ./common/preamble _begin_fstest auto quick metadata -# Import common functions. . ./common/filter.btrfs -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_scratch_dev_pool diff --git a/tests/btrfs/091 b/tests/btrfs/091 index a71e03406f..b71e803eb0 100755 --- a/tests/btrfs/091 +++ b/tests/btrfs/091 @@ -10,12 +10,9 @@ . ./common/preamble _begin_fstest auto quick qgroup -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here - _supported_fs btrfs _require_scratch _require_cp_reflink diff --git a/tests/btrfs/092 b/tests/btrfs/092 index f752f97296..c397a3c5c1 100755 --- a/tests/btrfs/092 +++ b/tests/btrfs/092 @@ -27,10 +27,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/093 b/tests/btrfs/093 index f4ee873a2a..eb4bea6cae 100755 --- a/tests/btrfs/093 +++ b/tests/btrfs/093 @@ -15,10 +15,8 @@ . ./common/preamble _begin_fstest auto quick clone -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/094 b/tests/btrfs/094 index 75804465d0..cde26a2a51 100755 --- a/tests/btrfs/094 +++ b/tests/btrfs/094 @@ -27,10 +27,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/095 b/tests/btrfs/095 index 3bd34c72e8..b0076f3f1b 100755 --- a/tests/btrfs/095 +++ b/tests/btrfs/095 @@ -22,11 +22,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/096 b/tests/btrfs/096 index 8081868293..8e014cd24c 100755 --- a/tests/btrfs/096 +++ b/tests/btrfs/096 @@ -9,11 +9,9 @@ . ./common/preamble _begin_fstest auto quick clone -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/097 b/tests/btrfs/097 index 16ed7e008f..3cd48822d9 100755 --- a/tests/btrfs/097 +++ b/tests/btrfs/097 @@ -17,10 +17,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/098 b/tests/btrfs/098 index d4e9f43dba..092543f40a 100755 --- a/tests/btrfs/098 +++ b/tests/btrfs/098 @@ -18,11 +18,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/099 b/tests/btrfs/099 index f3a2002a07..f19c301cf5 100755 --- a/tests/btrfs/099 +++ b/tests/btrfs/099 @@ -10,11 +10,8 @@ . ./common/preamble _begin_fstest auto quick qgroup limit -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch _require_btrfs_qgroup_report diff --git a/tests/btrfs/100 b/tests/btrfs/100 index 410e83ba17..53fc548957 100755 --- a/tests/btrfs/100 +++ b/tests/btrfs/100 @@ -17,7 +17,6 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/filter.btrfs . ./common/dmerror diff --git a/tests/btrfs/101 b/tests/btrfs/101 index e8ed8c5c73..fe380d73d6 100755 --- a/tests/btrfs/101 +++ b/tests/btrfs/101 @@ -17,7 +17,6 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/filter.btrfs . ./common/dmerror diff --git a/tests/btrfs/102 b/tests/btrfs/102 index 2a384f3cb7..303904b8e6 100755 --- a/tests/btrfs/102 +++ b/tests/btrfs/102 @@ -10,10 +10,8 @@ . ./common/preamble _begin_fstest auto quick metadata enospc balance -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/103 b/tests/btrfs/103 index 57309106e1..b60527cb16 100755 --- a/tests/btrfs/103 +++ b/tests/btrfs/103 @@ -10,10 +10,8 @@ . ./common/preamble _begin_fstest auto quick clone compress -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/104 b/tests/btrfs/104 index c9528eb13d..d2e10c3ee7 100755 --- a/tests/btrfs/104 +++ b/tests/btrfs/104 @@ -19,10 +19,8 @@ . ./common/preamble _begin_fstest auto qgroup -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_btrfs_qgroup_report diff --git a/tests/btrfs/105 b/tests/btrfs/105 index b6cc23b928..988ce05ccf 100755 --- a/tests/btrfs/105 +++ b/tests/btrfs/105 @@ -20,10 +20,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/106 b/tests/btrfs/106 index 7444e4d5a7..2eb02be7de 100755 --- a/tests/btrfs/106 +++ b/tests/btrfs/106 @@ -11,10 +11,8 @@ . ./common/preamble _begin_fstest auto quick clone compress -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/107 b/tests/btrfs/107 index 58ff6936c2..ae83f4d37b 100755 --- a/tests/btrfs/107 +++ b/tests/btrfs/107 @@ -10,12 +10,9 @@ . ./common/preamble _begin_fstest auto quick prealloc -# Import common functions. . ./common/filter . ./common/defrag -# real QA test starts here - _supported_fs btrfs _require_scratch _require_xfs_io_command "falloc" diff --git a/tests/btrfs/108 b/tests/btrfs/108 index 0f734e9cfa..3fe06461cd 100755 --- a/tests/btrfs/108 +++ b/tests/btrfs/108 @@ -18,11 +18,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_scratch _require_cp_reflink diff --git a/tests/btrfs/109 b/tests/btrfs/109 index c545733e06..2fbfdb6c5d 100755 --- a/tests/btrfs/109 +++ b/tests/btrfs/109 @@ -18,11 +18,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_scratch _require_cp_reflink diff --git a/tests/btrfs/110 b/tests/btrfs/110 index 86049233b4..7c3f7228bc 100755 --- a/tests/btrfs/110 +++ b/tests/btrfs/110 @@ -18,10 +18,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/111 b/tests/btrfs/111 index f03555bbbe..e9f0d43275 100755 --- a/tests/btrfs/111 +++ b/tests/btrfs/111 @@ -18,10 +18,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/112 b/tests/btrfs/112 index fd7aaad41f..2e1238288f 100755 --- a/tests/btrfs/112 +++ b/tests/btrfs/112 @@ -10,11 +10,9 @@ . ./common/preamble _begin_fstest auto quick clone prealloc compress -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/113 b/tests/btrfs/113 index 7c90c3b61b..a076a06f20 100755 --- a/tests/btrfs/113 +++ b/tests/btrfs/113 @@ -12,11 +12,9 @@ . ./common/preamble _begin_fstest auto quick compress clone -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_scratch _require_cloner diff --git a/tests/btrfs/114 b/tests/btrfs/114 index 28e1ce3499..35efbd7714 100755 --- a/tests/btrfs/114 +++ b/tests/btrfs/114 @@ -10,10 +10,8 @@ . ./common/preamble _begin_fstest auto qgroup -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/115 b/tests/btrfs/115 index 715f10b21d..4af83b617a 100755 --- a/tests/btrfs/115 +++ b/tests/btrfs/115 @@ -10,10 +10,8 @@ . ./common/preamble _begin_fstest auto qgroup -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/116 b/tests/btrfs/116 index 2449e6e3a6..99da568dab 100755 --- a/tests/btrfs/116 +++ b/tests/btrfs/116 @@ -12,10 +12,8 @@ . ./common/preamble _begin_fstest auto quick metadata -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch # Writing non-contiguous data directly to the device diff --git a/tests/btrfs/117 b/tests/btrfs/117 index 6539827b5a..942e85fab1 100755 --- a/tests/btrfs/117 +++ b/tests/btrfs/117 @@ -13,11 +13,9 @@ _begin_fstest auto quick send clone tmp=`mktemp -d` -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_scratch _require_cp_reflink diff --git a/tests/btrfs/118 b/tests/btrfs/118 index bd47748d8a..3cc2729c58 100755 --- a/tests/btrfs/118 +++ b/tests/btrfs/118 @@ -19,11 +19,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/119 b/tests/btrfs/119 index d1926da99e..85aaf35958 100755 --- a/tests/btrfs/119 +++ b/tests/btrfs/119 @@ -18,11 +18,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/120 b/tests/btrfs/120 index ba297bbb9a..4e692c4cc2 100755 --- a/tests/btrfs/120 +++ b/tests/btrfs/120 @@ -20,11 +20,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/121 b/tests/btrfs/121 index 009f3b7217..649d167616 100755 --- a/tests/btrfs/121 +++ b/tests/btrfs/121 @@ -14,10 +14,8 @@ . ./common/preamble _begin_fstest auto quick snapshot qgroup -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/122 b/tests/btrfs/122 index 0d585a9997..fc8ea5ec0f 100755 --- a/tests/btrfs/122 +++ b/tests/btrfs/122 @@ -10,10 +10,8 @@ . ./common/preamble _begin_fstest auto quick snapshot qgroup -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_btrfs_qgroup_report diff --git a/tests/btrfs/123 b/tests/btrfs/123 index 4c5b7e116a..db7b198624 100755 --- a/tests/btrfs/123 +++ b/tests/btrfs/123 @@ -13,12 +13,8 @@ . ./common/preamble _begin_fstest auto quick qgroup balance -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_btrfs_qgroup_report diff --git a/tests/btrfs/124 b/tests/btrfs/124 index 3d8141a109..f1e33c8c79 100755 --- a/tests/btrfs/124 +++ b/tests/btrfs/124 @@ -33,11 +33,8 @@ _cleanup() _btrfs_rescan_devices } -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch_dev_pool 2 _test_unmount diff --git a/tests/btrfs/125 b/tests/btrfs/125 index f742d14f85..12ed3f9ea0 100755 --- a/tests/btrfs/125 +++ b/tests/btrfs/125 @@ -32,11 +32,8 @@ _cleanup() _btrfs_rescan_devices } -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch_dev_pool 3 _test_unmount diff --git a/tests/btrfs/126 b/tests/btrfs/126 index 1bb24e00f9..74a507dd64 100755 --- a/tests/btrfs/126 +++ b/tests/btrfs/126 @@ -9,12 +9,8 @@ . ./common/preamble _begin_fstest auto quick qgroup limit -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_btrfs_qgroup_report diff --git a/tests/btrfs/127 b/tests/btrfs/127 index f21531729e..45a6d2d175 100755 --- a/tests/btrfs/127 +++ b/tests/btrfs/127 @@ -19,10 +19,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/128 b/tests/btrfs/128 index baf194cf6f..e68d03197f 100755 --- a/tests/btrfs/128 +++ b/tests/btrfs/128 @@ -18,10 +18,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/129 b/tests/btrfs/129 index 4e3046f3f3..9147b9d293 100755 --- a/tests/btrfs/129 +++ b/tests/btrfs/129 @@ -19,10 +19,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/130 b/tests/btrfs/130 index 6d9ddd4883..52352d47ed 100755 --- a/tests/btrfs/130 +++ b/tests/btrfs/130 @@ -14,13 +14,9 @@ . ./common/preamble _begin_fstest auto quick clone send -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_scratch_reflink diff --git a/tests/btrfs/131 b/tests/btrfs/131 index d34fc8d538..ef8f491881 100755 --- a/tests/btrfs/131 +++ b/tests/btrfs/131 @@ -9,11 +9,8 @@ . ./common/preamble _begin_fstest auto quick -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch _require_btrfs_command inspect-internal dump-super diff --git a/tests/btrfs/132 b/tests/btrfs/132 index b48395c188..d0ac51e471 100755 --- a/tests/btrfs/132 +++ b/tests/btrfs/132 @@ -21,12 +21,8 @@ _cleanup() wait } -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/133 b/tests/btrfs/133 index 4f45d6e848..428736ef8a 100755 --- a/tests/btrfs/133 +++ b/tests/btrfs/133 @@ -19,10 +19,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/134 b/tests/btrfs/134 index b16fbc7437..a48b5bbdb5 100755 --- a/tests/btrfs/134 +++ b/tests/btrfs/134 @@ -19,10 +19,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/135 b/tests/btrfs/135 index 36270562eb..f57a8ad2bf 100755 --- a/tests/btrfs/135 +++ b/tests/btrfs/135 @@ -20,10 +20,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/136 b/tests/btrfs/136 index 70e836a50c..3cb7150f9e 100755 --- a/tests/btrfs/136 +++ b/tests/btrfs/136 @@ -14,12 +14,8 @@ . ./common/preamble _begin_fstest auto convert -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_nocheck # ext4 does not support zoned block device diff --git a/tests/btrfs/137 b/tests/btrfs/137 index 7d03c2602b..acef0b750d 100755 --- a/tests/btrfs/137 +++ b/tests/btrfs/137 @@ -17,11 +17,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/punch -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/138 b/tests/btrfs/138 index 427fdede01..c2d272d10b 100755 --- a/tests/btrfs/138 +++ b/tests/btrfs/138 @@ -10,11 +10,8 @@ . ./common/preamble _begin_fstest auto compress -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch _require_btrfs_command property diff --git a/tests/btrfs/139 b/tests/btrfs/139 index f3d92ba468..f29324d343 100755 --- a/tests/btrfs/139 +++ b/tests/btrfs/139 @@ -12,7 +12,6 @@ . ./common/preamble _begin_fstest auto qgroup limit -# Import common functions. . ./common/filter _supported_fs btrfs diff --git a/tests/btrfs/140 b/tests/btrfs/140 index 5ce658860c..f1bee5d384 100755 --- a/tests/btrfs/140 +++ b/tests/btrfs/140 @@ -14,12 +14,8 @@ . ./common/preamble _begin_fstest auto quick read_repair fiemap -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_dev_pool 2 # No data checksums for NOCOW case, so can't detect corruption and repair data. diff --git a/tests/btrfs/141 b/tests/btrfs/141 index e1adb91e4d..c78ee33e48 100755 --- a/tests/btrfs/141 +++ b/tests/btrfs/141 @@ -15,12 +15,8 @@ . ./common/preamble _begin_fstest auto quick read_repair -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs # No data checksums for NOCOW case, so can't detect corruption and repair data. _require_btrfs_no_nodatacow diff --git a/tests/btrfs/142 b/tests/btrfs/142 index 7a63fb83fb..d9a8609e2b 100755 --- a/tests/btrfs/142 +++ b/tests/btrfs/142 @@ -15,13 +15,9 @@ . ./common/preamble _begin_fstest auto quick read_repair -# Import common functions. . ./common/filter . ./common/dmdust -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_dev_pool 2 _require_dm_target dust diff --git a/tests/btrfs/143 b/tests/btrfs/143 index b6ff2a424a..07ebf33c34 100755 --- a/tests/btrfs/143 +++ b/tests/btrfs/143 @@ -22,13 +22,9 @@ . ./common/preamble _begin_fstest auto quick read_repair -# Import common functions. . ./common/filter . ./common/dmdust -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_dev_pool 2 _require_dm_target dust diff --git a/tests/btrfs/144 b/tests/btrfs/144 index d41ce7e3c7..daae7821ce 100755 --- a/tests/btrfs/144 +++ b/tests/btrfs/144 @@ -19,10 +19,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/145 b/tests/btrfs/145 index ba97a2ad09..4e10a0e032 100755 --- a/tests/btrfs/145 +++ b/tests/btrfs/145 @@ -19,10 +19,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/146 b/tests/btrfs/146 index e3b75dc0b8..f734b61068 100755 --- a/tests/btrfs/146 +++ b/tests/btrfs/146 @@ -20,11 +20,9 @@ _cleanup() _dmerror_cleanup } -# Import common functions. . ./common/filter . ./common/dmerror -# real QA test starts here _supported_fs btrfs _require_scratch _require_scratch_dev_pool diff --git a/tests/btrfs/147 b/tests/btrfs/147 index 74ead3d6d1..71703be320 100755 --- a/tests/btrfs/147 +++ b/tests/btrfs/147 @@ -19,10 +19,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/148 b/tests/btrfs/148 index 9bbcd8e92f..74d48b6e9e 100755 --- a/tests/btrfs/148 +++ b/tests/btrfs/148 @@ -9,10 +9,8 @@ . ./common/preamble _begin_fstest auto quick rw scrub -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_scratch_dev_pool 4 diff --git a/tests/btrfs/149 b/tests/btrfs/149 index d6dce45dce..5054a57c1c 100755 --- a/tests/btrfs/149 +++ b/tests/btrfs/149 @@ -20,11 +20,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/150 b/tests/btrfs/150 index c21e0a66b1..a02bdafc61 100755 --- a/tests/btrfs/150 +++ b/tests/btrfs/150 @@ -13,13 +13,9 @@ . ./common/preamble _begin_fstest auto quick dangerous read_repair compress -# Import common functions. . ./common/filter . ./common/fail_make_request -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_fail_make_request diff --git a/tests/btrfs/151 b/tests/btrfs/151 index 54cd0827d9..edf42a83d3 100755 --- a/tests/btrfs/151 +++ b/tests/btrfs/151 @@ -13,12 +13,8 @@ . ./common/preamble _begin_fstest auto quick volume -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_scratch_dev_pool 3 diff --git a/tests/btrfs/152 b/tests/btrfs/152 index 75f576c3cf..8094320f3f 100755 --- a/tests/btrfs/152 +++ b/tests/btrfs/152 @@ -10,10 +10,8 @@ . ./common/preamble _begin_fstest auto quick metadata qgroup send -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/153 b/tests/btrfs/153 index 4a5fe2b8ce..ecd648c242 100755 --- a/tests/btrfs/153 +++ b/tests/btrfs/153 @@ -9,12 +9,8 @@ . ./common/preamble _begin_fstest auto quick qgroup limit preallocrw -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_btrfs_qgroup_report diff --git a/tests/btrfs/154 b/tests/btrfs/154 index 6be2d5f642..ccd7603580 100755 --- a/tests/btrfs/154 +++ b/tests/btrfs/154 @@ -14,11 +14,8 @@ . ./common/preamble _begin_fstest auto quick -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch _require_command $PYTHON3_PROG python3 diff --git a/tests/btrfs/155 b/tests/btrfs/155 index e99a1054da..70cccab7cd 100755 --- a/tests/btrfs/155 +++ b/tests/btrfs/155 @@ -19,10 +19,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/156 b/tests/btrfs/156 index 4f323f3703..eb8fd06247 100755 --- a/tests/btrfs/156 +++ b/tests/btrfs/156 @@ -17,12 +17,8 @@ . ./common/preamble _begin_fstest auto quick trim balance -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_fstrim diff --git a/tests/btrfs/157 b/tests/btrfs/157 index aec844ffa8..05cb94d0c6 100755 --- a/tests/btrfs/157 +++ b/tests/btrfs/157 @@ -23,12 +23,8 @@ . ./common/preamble _begin_fstest auto quick raid read_repair -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs # No data checksums for NOCOW case, so can't detect corruption and repair data. _require_btrfs_no_nodatacow diff --git a/tests/btrfs/158 b/tests/btrfs/158 index d7805afd6b..78a527c27a 100755 --- a/tests/btrfs/158 +++ b/tests/btrfs/158 @@ -15,12 +15,8 @@ . ./common/preamble _begin_fstest auto quick raid scrub -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs # No data checksums for NOCOW case, so can't detect corruption and repair data. _require_btrfs_no_nodatacow diff --git a/tests/btrfs/159 b/tests/btrfs/159 index 7641f65db5..0cbf5be142 100755 --- a/tests/btrfs/159 +++ b/tests/btrfs/159 @@ -19,11 +19,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/160 b/tests/btrfs/160 index 48c2133c96..23a2a8c42f 100755 --- a/tests/btrfs/160 +++ b/tests/btrfs/160 @@ -19,11 +19,9 @@ _cleanup() _dmerror_cleanup } -# Import common functions. . ./common/filter . ./common/dmerror -# real QA test starts here _supported_fs btrfs _require_scratch_dev_pool diff --git a/tests/btrfs/161 b/tests/btrfs/161 index 5aac8fe93a..2fbbc54010 100755 --- a/tests/btrfs/161 +++ b/tests/btrfs/161 @@ -11,12 +11,8 @@ . ./common/preamble _begin_fstest auto quick volume seed -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_command "$BTRFS_TUNE_PROG" btrfstune _require_scratch_dev_pool 2 diff --git a/tests/btrfs/162 b/tests/btrfs/162 index 1d8dbf9546..68652a355a 100755 --- a/tests/btrfs/162 +++ b/tests/btrfs/162 @@ -12,13 +12,9 @@ . ./common/preamble _begin_fstest auto quick volume seed -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_command "$BTRFS_TUNE_PROG" btrfstune _require_scratch_dev_pool 3 diff --git a/tests/btrfs/163 b/tests/btrfs/163 index da31cfb8f1..c7a29bf33a 100755 --- a/tests/btrfs/163 +++ b/tests/btrfs/163 @@ -24,13 +24,9 @@ _cleanup() _btrfs_rescan_devices } -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_command "$BTRFS_TUNE_PROG" btrfstune _require_scratch_dev_pool 3 diff --git a/tests/btrfs/164 b/tests/btrfs/164 index bc62b535ca..d5e91cface 100755 --- a/tests/btrfs/164 +++ b/tests/btrfs/164 @@ -20,9 +20,6 @@ _cleanup() _btrfs_rescan_devices } -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_btrfs_forget_or_module_loadable _require_scratch_dev_pool 2 diff --git a/tests/btrfs/165 b/tests/btrfs/165 index c4a52a155a..bab40060b9 100755 --- a/tests/btrfs/165 +++ b/tests/btrfs/165 @@ -31,10 +31,8 @@ rm_r_subvol() { rm -r $1 >> $seqres.full 2>&1 } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_btrfs_fs_feature "rmdir_subvol" diff --git a/tests/btrfs/166 b/tests/btrfs/166 index 47f7f9b38d..726db698e7 100755 --- a/tests/btrfs/166 +++ b/tests/btrfs/166 @@ -19,11 +19,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/167 b/tests/btrfs/167 index 7ab2fdbaa6..fb087a7385 100755 --- a/tests/btrfs/167 +++ b/tests/btrfs/167 @@ -13,12 +13,8 @@ . ./common/preamble _begin_fstest auto quick replace volume remount compress -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_dev_pool 2 _require_scratch_dev_pool_equal_size diff --git a/tests/btrfs/168 b/tests/btrfs/168 index acc58b51ee..29a18183d5 100755 --- a/tests/btrfs/168 +++ b/tests/btrfs/168 @@ -19,10 +19,8 @@ _cleanup() rm -fr $send_files_dir } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/169 b/tests/btrfs/169 index 009fdaee7c..269c1a586f 100755 --- a/tests/btrfs/169 +++ b/tests/btrfs/169 @@ -19,10 +19,8 @@ _cleanup() rm -fr $send_files_dir } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/170 b/tests/btrfs/170 index ab105d36fb..fcbd38b9a2 100755 --- a/tests/btrfs/170 +++ b/tests/btrfs/170 @@ -11,10 +11,8 @@ . ./common/preamble _begin_fstest auto quick snapshot prealloc -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_xfs_io_command "falloc" "-k" diff --git a/tests/btrfs/171 b/tests/btrfs/171 index 6a1ed1c1a9..e820fd9d57 100755 --- a/tests/btrfs/171 +++ b/tests/btrfs/171 @@ -13,11 +13,9 @@ . ./common/preamble _begin_fstest auto quick qgroup -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/172 b/tests/btrfs/172 index 964251b449..fbb7739dad 100755 --- a/tests/btrfs/172 +++ b/tests/btrfs/172 @@ -20,13 +20,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmlogwrites -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_log_writes diff --git a/tests/btrfs/176 b/tests/btrfs/176 index 0ddff8d8e6..7675441083 100755 --- a/tests/btrfs/176 +++ b/tests/btrfs/176 @@ -9,12 +9,8 @@ . ./common/preamble _begin_fstest auto quick swap volume -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_dev_pool 3 _require_scratch_swapfile diff --git a/tests/btrfs/177 b/tests/btrfs/177 index 7b004b83c1..38c3d41d49 100755 --- a/tests/btrfs/177 +++ b/tests/btrfs/177 @@ -11,7 +11,6 @@ _begin_fstest auto quick swap balance . ./common/filter -# Modify as appropriate. _supported_fs btrfs _require_scratch_swapfile diff --git a/tests/btrfs/178 b/tests/btrfs/178 index 5e148615a1..fda287dd9d 100755 --- a/tests/btrfs/178 +++ b/tests/btrfs/178 @@ -21,10 +21,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/179 b/tests/btrfs/179 index 00013af0a1..7fcdbfd32d 100755 --- a/tests/btrfs/179 +++ b/tests/btrfs/179 @@ -12,12 +12,8 @@ . ./common/preamble _begin_fstest auto qgroup dangerous -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/180 b/tests/btrfs/180 index aa195f7b40..59bb3c83d6 100755 --- a/tests/btrfs/180 +++ b/tests/btrfs/180 @@ -13,12 +13,8 @@ . ./common/preamble _begin_fstest auto quick qgroup limit prealloc -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_xfs_io_command falloc diff --git a/tests/btrfs/181 b/tests/btrfs/181 index 8a3c3c17ed..068e6e8e4e 100755 --- a/tests/btrfs/181 +++ b/tests/btrfs/181 @@ -13,12 +13,8 @@ . ./common/preamble _begin_fstest auto quick balance -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_btrfs_command inspect-internal dump-super diff --git a/tests/btrfs/182 b/tests/btrfs/182 index 1967469bbe..b5bd022b73 100755 --- a/tests/btrfs/182 +++ b/tests/btrfs/182 @@ -15,12 +15,8 @@ . ./common/preamble _begin_fstest auto quick balance -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/183 b/tests/btrfs/183 index e7afb0588e..9d3e78cc85 100755 --- a/tests/btrfs/183 +++ b/tests/btrfs/183 @@ -10,11 +10,9 @@ . ./common/preamble _begin_fstest auto quick clone compress punch -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_scratch_reflink _require_xfs_io_command "fpunch" diff --git a/tests/btrfs/184 b/tests/btrfs/184 index ee43a8d3a3..ad95745780 100755 --- a/tests/btrfs/184 +++ b/tests/btrfs/184 @@ -10,10 +10,8 @@ . ./common/preamble _begin_fstest auto quick volume -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch _require_scratch_dev_pool 2 diff --git a/tests/btrfs/185 b/tests/btrfs/185 index c7b8d2d469..2050672edf 100755 --- a/tests/btrfs/185 +++ b/tests/btrfs/185 @@ -21,10 +21,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch_dev_pool 2 _scratch_dev_pool_get 2 diff --git a/tests/btrfs/186 b/tests/btrfs/186 index b52d0b05cf..164e39757c 100755 --- a/tests/btrfs/186 +++ b/tests/btrfs/186 @@ -20,10 +20,8 @@ _cleanup() rm -fr $send_files_dir } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/187 b/tests/btrfs/187 index d3cf05a1bd..326071b860 100755 --- a/tests/btrfs/187 +++ b/tests/btrfs/187 @@ -15,12 +15,10 @@ . ./common/preamble _begin_fstest auto send dedupe clone balance -# Import common functions. . ./common/attr . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_scratch_dedupe _require_attrs diff --git a/tests/btrfs/188 b/tests/btrfs/188 index fcaf84b150..2791a133fa 100755 --- a/tests/btrfs/188 +++ b/tests/btrfs/188 @@ -20,10 +20,8 @@ _cleanup() rm -fr $send_files_dir } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/189 b/tests/btrfs/189 index ec6e56fa00..fb7ebfad36 100755 --- a/tests/btrfs/189 +++ b/tests/btrfs/189 @@ -22,11 +22,9 @@ _cleanup() rm -fr $send_files_dir } -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_fssum _require_test diff --git a/tests/btrfs/190 b/tests/btrfs/190 index f78c14fe44..6d805e6be1 100755 --- a/tests/btrfs/190 +++ b/tests/btrfs/190 @@ -10,13 +10,9 @@ . ./common/preamble _begin_fstest auto quick replay balance qgroup recoveryloop -# Import common functions. . ./common/filter . ./common/dmlogwrites -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch # and we need extra device as log device diff --git a/tests/btrfs/191 b/tests/btrfs/191 index 3c565d0ad2..60b08137db 100755 --- a/tests/btrfs/191 +++ b/tests/btrfs/191 @@ -18,11 +18,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_test _require_scratch_dedupe diff --git a/tests/btrfs/192 b/tests/btrfs/192 index 00ea1478ab..0a35e055b3 100755 --- a/tests/btrfs/192 +++ b/tests/btrfs/192 @@ -22,14 +22,10 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/attr . ./common/dmlogwrites -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_command "$KILLALL_PROG" killall diff --git a/tests/btrfs/193 b/tests/btrfs/193 index 67220c7a5c..bf9e92b4aa 100755 --- a/tests/btrfs/193 +++ b/tests/btrfs/193 @@ -12,12 +12,8 @@ . ./common/preamble _begin_fstest auto quick qgroup enospc limit prealloc -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_xfs_io_command falloc diff --git a/tests/btrfs/194 b/tests/btrfs/194 index d749377cb1..726f61d429 100755 --- a/tests/btrfs/194 +++ b/tests/btrfs/194 @@ -13,12 +13,8 @@ . ./common/preamble _begin_fstest auto volume -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_dev_pool 2 _scratch_dev_pool_get 2 diff --git a/tests/btrfs/195 b/tests/btrfs/195 index df8f5ed6e4..6de7012115 100755 --- a/tests/btrfs/195 +++ b/tests/btrfs/195 @@ -10,12 +10,8 @@ . ./common/preamble _begin_fstest auto volume balance scrub -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_dev_pool 4 # Zoned btrfs only supports SINGLE profile diff --git a/tests/btrfs/196 b/tests/btrfs/196 index 71b67ce2ff..9602c6f44c 100755 --- a/tests/btrfs/196 +++ b/tests/btrfs/196 @@ -25,14 +25,10 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmthin . ./common/dmlogwrites -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs # Use thin device as replay device, which requires $SCRATCH_DEV diff --git a/tests/btrfs/197 b/tests/btrfs/197 index 196110cbda..85f904c5fe 100755 --- a/tests/btrfs/197 +++ b/tests/btrfs/197 @@ -21,10 +21,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/198 b/tests/btrfs/198 index ad43b4d1b5..e3c4b74a5d 100755 --- a/tests/btrfs/198 +++ b/tests/btrfs/198 @@ -9,11 +9,9 @@ . ./common/preamble _begin_fstest auto quick volume -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_command "$WIPEFS_PROG" wipefs _require_scratch diff --git a/tests/btrfs/199 b/tests/btrfs/199 index a4920b99ef..ff6877048c 100755 --- a/tests/btrfs/199 +++ b/tests/btrfs/199 @@ -24,12 +24,8 @@ _cleanup() rm -rf $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _fixed_by_kernel_commit 6b7faadd985c \ "btrfs: Ensure we trim ranges across block group boundary" diff --git a/tests/btrfs/200 b/tests/btrfs/200 index 5ce3775f22..20f16bf791 100755 --- a/tests/btrfs/200 +++ b/tests/btrfs/200 @@ -18,12 +18,10 @@ _cleanup() rm -fr $send_files_dir } -# Import common functions. . ./common/filter . ./common/reflink . ./common/punch -# real QA test starts here _supported_fs btrfs _require_fssum _require_test diff --git a/tests/btrfs/201 b/tests/btrfs/201 index e61abb5ebb..007319ae4c 100755 --- a/tests/btrfs/201 +++ b/tests/btrfs/201 @@ -19,12 +19,10 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/attr . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/203 b/tests/btrfs/203 index e506118e2c..87ed0c66ad 100755 --- a/tests/btrfs/203 +++ b/tests/btrfs/203 @@ -19,11 +19,9 @@ _cleanup() rm -fr $send_files_dir } -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_test _require_scratch_reflink diff --git a/tests/btrfs/204 b/tests/btrfs/204 index ec751e4219..73511d9971 100755 --- a/tests/btrfs/204 +++ b/tests/btrfs/204 @@ -10,12 +10,8 @@ . ./common/preamble _begin_fstest auto quick punch -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_xfs_io_command "fpunch" diff --git a/tests/btrfs/205 b/tests/btrfs/205 index 728f9a7c74..096a5dd9e2 100755 --- a/tests/btrfs/205 +++ b/tests/btrfs/205 @@ -16,11 +16,9 @@ . ./common/preamble _begin_fstest auto quick clone compress prealloc -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_scratch_reflink _require_xfs_io_command "falloc" "-k" diff --git a/tests/btrfs/206 b/tests/btrfs/206 index 02a5082046..39fac00da3 100755 --- a/tests/btrfs/206 +++ b/tests/btrfs/206 @@ -21,11 +21,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmlogwrites -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/207 b/tests/btrfs/207 index dc35899b8b..fc18b17f67 100755 --- a/tests/btrfs/207 +++ b/tests/btrfs/207 @@ -10,7 +10,6 @@ . ./common/preamble _begin_fstest auto rw raid -# Import common functions. . ./common/filter _supported_fs btrfs diff --git a/tests/btrfs/208 b/tests/btrfs/208 index d58803e2f8..c104fa7453 100755 --- a/tests/btrfs/208 +++ b/tests/btrfs/208 @@ -10,11 +10,9 @@ . ./common/preamble _begin_fstest auto quick subvol -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_scratch _require_btrfs_command subvolume delete --subvolid diff --git a/tests/btrfs/209 b/tests/btrfs/209 index 3094885f58..9f8808b60c 100755 --- a/tests/btrfs/209 +++ b/tests/btrfs/209 @@ -20,12 +20,10 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/attr . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/210 b/tests/btrfs/210 index f3d769fa09..021a4b8a52 100755 --- a/tests/btrfs/210 +++ b/tests/btrfs/210 @@ -10,12 +10,8 @@ . ./common/preamble _begin_fstest auto quick qgroup snapshot -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/211 b/tests/btrfs/211 index f5744b75f4..d80dc06f16 100755 --- a/tests/btrfs/211 +++ b/tests/btrfs/211 @@ -20,11 +20,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_xfs_io_command "falloc" "-k" diff --git a/tests/btrfs/212 b/tests/btrfs/212 index a7df938b9e..71337722b5 100755 --- a/tests/btrfs/212 +++ b/tests/btrfs/212 @@ -22,12 +22,8 @@ _cleanup() wait } -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_command "$KILLALL_PROG" killall diff --git a/tests/btrfs/213 b/tests/btrfs/213 index 816041a0cc..33504d3dac 100755 --- a/tests/btrfs/213 +++ b/tests/btrfs/213 @@ -17,10 +17,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_xfs_io_command pwrite -D diff --git a/tests/btrfs/214 b/tests/btrfs/214 index 2a728f7e9e..24d7c9814c 100755 --- a/tests/btrfs/214 +++ b/tests/btrfs/214 @@ -11,7 +11,6 @@ _begin_fstest auto quick send snapshot _register_cleanup "cleanup" -# Import common functions. . ./common/filter _supported_fs btrfs @@ -122,8 +121,6 @@ roundtrip_send() _scratch_unmount } -# real QA test starts here - echo "Test full send + file without capabilities, then incremental send bringing a new capability" full_nocap_inc_withcap_send diff --git a/tests/btrfs/215 b/tests/btrfs/215 index 6fa226fe1e..7054a9ba79 100755 --- a/tests/btrfs/215 +++ b/tests/btrfs/215 @@ -11,10 +11,8 @@ . ./common/preamble _begin_fstest auto quick read_repair -# Import common functions. . ./common/filter -# real QA test starts here get_physical() { $BTRFS_UTIL_PROG inspect-internal dump-tree -t 3 $SCRATCH_DEV | \ @@ -22,7 +20,6 @@ get_physical() $AWK_PROG "(\$1 ~ /stripe/ && \$3 ~ /devid/ && \$2 ~ /0/) { print \$6 }" } -# Modify as appropriate. _supported_fs btrfs _require_scratch # No data checksums for NOCOW case, so can't detect corruption and repair data. diff --git a/tests/btrfs/216 b/tests/btrfs/216 index 979dcb73f0..e606ca33af 100755 --- a/tests/btrfs/216 +++ b/tests/btrfs/216 @@ -10,10 +10,8 @@ . ./common/preamble _begin_fstest auto quick seed -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _fixed_by_kernel_commit 4faf55b03823 \ "btrfs: don't traverse into the seed devices in show_devname" diff --git a/tests/btrfs/217 b/tests/btrfs/217 index 92bbba2336..f96a6933ba 100755 --- a/tests/btrfs/217 +++ b/tests/btrfs/217 @@ -12,12 +12,8 @@ . ./common/preamble _begin_fstest auto quick trim dangerous -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_size $((5 * 1024 * 1024)) #kB _require_fstrim diff --git a/tests/btrfs/218 b/tests/btrfs/218 index b0434834ff..3afa95af10 100755 --- a/tests/btrfs/218 +++ b/tests/btrfs/218 @@ -10,13 +10,9 @@ . ./common/preamble _begin_fstest auto quick volume -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _fixed_by_kernel_commit 124604eb50f8 \ "btrfs: init device stats for seed devices" diff --git a/tests/btrfs/219 b/tests/btrfs/219 index 9da835dcab..6f89b8aed3 100755 --- a/tests/btrfs/219 +++ b/tests/btrfs/219 @@ -35,11 +35,8 @@ _cleanup() _btrfs_rescan_devices } -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs loop_mnt1=$TEST_DIR/$seq/mnt1 diff --git a/tests/btrfs/220 b/tests/btrfs/220 index a7ec6558b4..2b62c9bbef 100755 --- a/tests/btrfs/220 +++ b/tests/btrfs/220 @@ -12,7 +12,6 @@ _begin_fstest auto quick remount _register_cleanup "cleanup" -# Import common functions. . ./common/filter _supported_fs btrfs @@ -325,7 +324,6 @@ _try_scratch_mount "-o clear_cache" > /dev/null 2>&1 && \ echo $shown_opts | grep -q clear_cache && enable_clear_cache_shown=true _scratch_unmount; } -# real QA test starts here _scratch_mkfs >/dev/null # This test checks mount options, so having random MOUNT_OPTIONS set could diff --git a/tests/btrfs/221 b/tests/btrfs/221 index a3007587c3..be5d7be396 100755 --- a/tests/btrfs/221 +++ b/tests/btrfs/221 @@ -21,10 +21,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/222 b/tests/btrfs/222 index f452476494..e732101195 100755 --- a/tests/btrfs/222 +++ b/tests/btrfs/222 @@ -20,10 +20,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/223 b/tests/btrfs/223 index 8125cdf257..e69ed7062b 100755 --- a/tests/btrfs/223 +++ b/tests/btrfs/223 @@ -12,10 +12,8 @@ . ./common/preamble _begin_fstest auto quick replace trim -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch_dev_pool 3 _require_command "$WIPEFS_PROG" wipefs diff --git a/tests/btrfs/224 b/tests/btrfs/224 index 611df3ab42..28b39121cb 100755 --- a/tests/btrfs/224 +++ b/tests/btrfs/224 @@ -9,13 +9,9 @@ . ./common/preamble _begin_fstest auto quick qgroup -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/225 b/tests/btrfs/225 index 677c162cb6..d6b1cbc1f8 100755 --- a/tests/btrfs/225 +++ b/tests/btrfs/225 @@ -21,12 +21,8 @@ _cleanup() _btrfs_rescan_devices } -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _fixed_by_kernel_commit b5ddcffa3777 \ "btrfs: fix put of uninitialized kobject after seed device delete" diff --git a/tests/btrfs/226 b/tests/btrfs/226 index 7034fcc7b2..f60947ced4 100755 --- a/tests/btrfs/226 +++ b/tests/btrfs/226 @@ -10,11 +10,9 @@ . ./common/preamble _begin_fstest auto quick rw snapshot clone prealloc punch -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_scratch_reflink _require_chattr C diff --git a/tests/btrfs/227 b/tests/btrfs/227 index c881ab986a..4663874c29 100755 --- a/tests/btrfs/227 +++ b/tests/btrfs/227 @@ -20,10 +20,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/228 b/tests/btrfs/228 index 5ef1dfd741..c7eeade1ab 100755 --- a/tests/btrfs/228 +++ b/tests/btrfs/228 @@ -9,12 +9,8 @@ . ./common/preamble _begin_fstest auto quick volume -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_btrfs_command inspect-internal dump-tree diff --git a/tests/btrfs/229 b/tests/btrfs/229 index 6c8c819352..54ed74a104 100755 --- a/tests/btrfs/229 +++ b/tests/btrfs/229 @@ -20,11 +20,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/reflink -# real QA test starts here _supported_fs btrfs _require_test _require_scratch_reflink diff --git a/tests/btrfs/230 b/tests/btrfs/230 index 7a4cd18e92..4cef062b0a 100755 --- a/tests/btrfs/230 +++ b/tests/btrfs/230 @@ -10,11 +10,8 @@ . ./common/preamble _begin_fstest auto quick qgroup limit -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs # This test requires specific data space usage, skip if we have compression diff --git a/tests/btrfs/231 b/tests/btrfs/231 index 562f1fffd4..6980129589 100755 --- a/tests/btrfs/231 +++ b/tests/btrfs/231 @@ -21,11 +21,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_btrfs_fs_feature "no_holes" diff --git a/tests/btrfs/232 b/tests/btrfs/232 index 84c39c071d..9caeee4c68 100755 --- a/tests/btrfs/232 +++ b/tests/btrfs/232 @@ -14,7 +14,6 @@ . ./common/preamble _begin_fstest auto quick qgroup limit -# Import common functions. . ./common/filter writer() @@ -29,8 +28,6 @@ writer() done } -# real QA test starts here - _supported_fs btrfs # This test requires specific data space usage, skip if we have compression diff --git a/tests/btrfs/233 b/tests/btrfs/233 index f2c1eba090..1a7ea6ada3 100755 --- a/tests/btrfs/233 +++ b/tests/btrfs/233 @@ -19,12 +19,10 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/filter.btrfs . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/234 b/tests/btrfs/234 index 542515e815..eccfc5ca7b 100755 --- a/tests/btrfs/234 +++ b/tests/btrfs/234 @@ -10,11 +10,9 @@ . ./common/preamble _begin_fstest auto quick compress rw -# Import common functions. . ./common/filter . ./common/attr -# real QA test starts here _supported_fs btrfs _require_scratch _require_odirect diff --git a/tests/btrfs/235 b/tests/btrfs/235 index cfa7603c2d..a1ec3aadb3 100755 --- a/tests/btrfs/235 +++ b/tests/btrfs/235 @@ -19,10 +19,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/236 b/tests/btrfs/236 index 8481d8f380..ed3bddb880 100755 --- a/tests/btrfs/236 +++ b/tests/btrfs/236 @@ -19,11 +19,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/237 b/tests/btrfs/237 index 367019b602..33b2f262ca 100755 --- a/tests/btrfs/237 +++ b/tests/btrfs/237 @@ -12,11 +12,8 @@ . ./common/preamble _begin_fstest auto quick zone balance -# Import common functions. . ./common/zoned -# real QA test starts here - _supported_fs btrfs _require_scratch _require_btrfs_command inspect-internal dump-tree diff --git a/tests/btrfs/238 b/tests/btrfs/238 index 3a711ea7a1..b85eb3400e 100755 --- a/tests/btrfs/238 +++ b/tests/btrfs/238 @@ -9,12 +9,8 @@ . ./common/preamble _begin_fstest auto quick seed trim -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _fixed_by_kernel_commit 5e753a817b2d \ "btrfs: fix unmountable seed device after fstrim" diff --git a/tests/btrfs/239 b/tests/btrfs/239 index 5a2dbe58d5..41fe438ebc 100755 --- a/tests/btrfs/239 +++ b/tests/btrfs/239 @@ -21,11 +21,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/240 b/tests/btrfs/240 index afc6aae023..f0fcf8a482 100755 --- a/tests/btrfs/240 +++ b/tests/btrfs/240 @@ -21,11 +21,9 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter . ./common/dmflakey -# real QA test starts here _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/241 b/tests/btrfs/241 index d7348edf0c..32f0e10933 100755 --- a/tests/btrfs/241 +++ b/tests/btrfs/241 @@ -21,10 +21,8 @@ _cleanup() rm -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_test _require_scratch diff --git a/tests/btrfs/242 b/tests/btrfs/242 index 6ce620810c..8daf0f2e09 100755 --- a/tests/btrfs/242 +++ b/tests/btrfs/242 @@ -11,10 +11,8 @@ . ./common/preamble _begin_fstest auto quick volume trim -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_btrfs_forget_or_module_loadable _require_scratch_dev_pool 2 diff --git a/tests/btrfs/243 b/tests/btrfs/243 index 09a63bcd23..1ad0fa5804 100755 --- a/tests/btrfs/243 +++ b/tests/btrfs/243 @@ -23,8 +23,6 @@ _cleanup() . ./common/filter . ./common/dmflakey -# real QA test starts here - _supported_fs btrfs _require_scratch _require_dm_target flakey diff --git a/tests/btrfs/244 b/tests/btrfs/244 index fbefeedf31..4c5d69e71c 100755 --- a/tests/btrfs/244 +++ b/tests/btrfs/244 @@ -17,12 +17,6 @@ _begin_fstest auto quick volume dangerous # rm -r -f $tmp.* # } -# Import common functions. -# . ./common/filter - -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/245 b/tests/btrfs/245 index 426aab1c4b..c580b1fada 100755 --- a/tests/btrfs/245 +++ b/tests/btrfs/245 @@ -10,11 +10,8 @@ . ./common/preamble _begin_fstest auto quick idmapped subvol -# get standard environment, filters and checks . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_idmapped_mounts _require_test diff --git a/tests/btrfs/246 b/tests/btrfs/246 index 2fe54f9590..3617d7fc3f 100755 --- a/tests/btrfs/246 +++ b/tests/btrfs/246 @@ -16,10 +16,8 @@ _cleanup() rm -r -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/247 b/tests/btrfs/247 index ca0f41a140..341496e431 100755 --- a/tests/btrfs/247 +++ b/tests/btrfs/247 @@ -12,12 +12,8 @@ . ./common/preamble _begin_fstest auto quick rename subvol -# Import common functions. . ./common/renameat2 -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_renameat2 exchange _require_scratch diff --git a/tests/btrfs/248 b/tests/btrfs/248 index 856cd489d4..8e6d9211cb 100755 --- a/tests/btrfs/248 +++ b/tests/btrfs/248 @@ -14,12 +14,6 @@ . ./common/preamble _begin_fstest auto quick seed volume -# Import common functions. -# . ./common/filter - -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_test _require_scratch_dev_pool 2 diff --git a/tests/btrfs/249 b/tests/btrfs/249 index 0355434b4b..c7f93ed467 100755 --- a/tests/btrfs/249 +++ b/tests/btrfs/249 @@ -16,12 +16,6 @@ . ./common/preamble _begin_fstest auto quick seed volume -# Import common functions. -# . ./common/filter - -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_dev_pool 3 _require_command "$WIPEFS_PROG" wipefs diff --git a/tests/btrfs/250 b/tests/btrfs/250 index e7ddc2f12b..495a323236 100755 --- a/tests/btrfs/250 +++ b/tests/btrfs/250 @@ -20,11 +20,8 @@ _cleanup() rm -r -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch _require_chattr C diff --git a/tests/btrfs/251 b/tests/btrfs/251 index af01095828..944f0a1929 100755 --- a/tests/btrfs/251 +++ b/tests/btrfs/251 @@ -10,12 +10,8 @@ . ./common/preamble _begin_fstest auto quick compress dangerous -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/252 b/tests/btrfs/252 index 8b4809b748..defca229e4 100755 --- a/tests/btrfs/252 +++ b/tests/btrfs/252 @@ -32,10 +32,8 @@ _cleanup() rm -r -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here _supported_fs btrfs # The size needed is variable as it depends on the specific randomized diff --git a/tests/btrfs/254 b/tests/btrfs/254 index a358e374a2..c789d87448 100755 --- a/tests/btrfs/254 +++ b/tests/btrfs/254 @@ -25,11 +25,9 @@ _cleanup() cleanup_dmdev } -# Import common functions. . ./common/filter . ./common/filter.btrfs -# real QA test starts here _supported_fs btrfs _require_scratch_dev_pool 3 _require_block_device $SCRATCH_DEV diff --git a/tests/btrfs/255 b/tests/btrfs/255 index aa250467e4..ee52873fe9 100755 --- a/tests/btrfs/255 +++ b/tests/btrfs/255 @@ -12,7 +12,6 @@ . ./common/preamble _begin_fstest auto qgroup balance -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/256 b/tests/btrfs/256 index acbbc6fa5d..211a096237 100755 --- a/tests/btrfs/256 +++ b/tests/btrfs/256 @@ -20,11 +20,8 @@ _cleanup() rm -r -f $tmp.* } -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch _require_fssum diff --git a/tests/btrfs/257 b/tests/btrfs/257 index f8e69f7a6a..7b4c043f11 100755 --- a/tests/btrfs/257 +++ b/tests/btrfs/257 @@ -18,12 +18,8 @@ _begin_fstest auto quick defrag prealloc fiemap # rm -r -f $tmp.* # } -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/258 b/tests/btrfs/258 index a4d15c431e..7373a56115 100755 --- a/tests/btrfs/258 +++ b/tests/btrfs/258 @@ -12,9 +12,6 @@ _begin_fstest auto defrag quick fiemap remount . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs generic _require_scratch _require_xfs_io_command "fiemap" diff --git a/tests/btrfs/259 b/tests/btrfs/259 index 7f053ac938..5b0bf7e0b0 100755 --- a/tests/btrfs/259 +++ b/tests/btrfs/259 @@ -10,12 +10,8 @@ . ./common/preamble _begin_fstest auto quick defrag fiemap compress -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_xfs_io_command "fiemap" diff --git a/tests/btrfs/260 b/tests/btrfs/260 index 111a3bd612..b16e8378e8 100755 --- a/tests/btrfs/260 +++ b/tests/btrfs/260 @@ -17,12 +17,8 @@ _begin_fstest auto quick defrag compress prealloc fiemap # rm -r -f $tmp.* # } -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_xfs_io_command "fiemap" "ranged" diff --git a/tests/btrfs/262 b/tests/btrfs/262 index d58afa461f..f50e5d237b 100755 --- a/tests/btrfs/262 +++ b/tests/btrfs/262 @@ -11,11 +11,8 @@ . ./common/preamble _begin_fstest auto quick qgroup -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/263 b/tests/btrfs/263 index 5bf8d49998..919724f5ef 100755 --- a/tests/btrfs/263 +++ b/tests/btrfs/263 @@ -10,12 +10,8 @@ . ./common/preamble _begin_fstest auto quick defrag fiemap remount -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_xfs_io_command "fiemap" "ranged" diff --git a/tests/btrfs/264 b/tests/btrfs/264 index 9f03ee3ac1..da1057bb0b 100755 --- a/tests/btrfs/264 +++ b/tests/btrfs/264 @@ -18,12 +18,9 @@ . ./common/preamble _begin_fstest auto quick compress attr -# Import common functions. . ./common/filter . ./common/attr -# real QA test starts here - _supported_fs btrfs _require_scratch _require_attrs diff --git a/tests/btrfs/265 b/tests/btrfs/265 index 127da7ada7..0e72f8f2a1 100755 --- a/tests/btrfs/265 +++ b/tests/btrfs/265 @@ -11,11 +11,8 @@ . ./common/preamble _begin_fstest auto quick read_repair -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch_dev_pool 3 diff --git a/tests/btrfs/266 b/tests/btrfs/266 index acfb1d59d4..7a10b92fb5 100755 --- a/tests/btrfs/266 +++ b/tests/btrfs/266 @@ -12,11 +12,8 @@ . ./common/preamble _begin_fstest auto quick read_repair -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs # No data checksums for NOCOW case, so can't detect corruption and repair data. _require_btrfs_no_nodatacow diff --git a/tests/btrfs/267 b/tests/btrfs/267 index 51b28d9bcb..e15a4623bb 100755 --- a/tests/btrfs/267 +++ b/tests/btrfs/267 @@ -12,11 +12,8 @@ . ./common/preamble _begin_fstest auto quick read_repair -# Import common functions. . ./common/filter -# real QA test starts here - _supported_fs btrfs _require_scratch_dev_pool 3 diff --git a/tests/btrfs/272 b/tests/btrfs/272 index a49ec0760f..6b6dfc2e79 100755 --- a/tests/btrfs/272 +++ b/tests/btrfs/272 @@ -15,7 +15,6 @@ . ./common/preamble _begin_fstest auto quick send -# real QA test starts here _supported_fs btrfs _fixed_by_kernel_commit 3aa5bd367fa5a3 \ "btrfs: send: fix sending link commands for existing file paths" diff --git a/tests/btrfs/273 b/tests/btrfs/273 index dc9c213286..bdee1a97c7 100755 --- a/tests/btrfs/273 +++ b/tests/btrfs/273 @@ -21,11 +21,8 @@ _cleanup() wait } -# Import common functions. . ./common/zoned -# real QA test starts here - _supported_fs btrfs _fixed_by_kernel_commit 2ce543f47843 \ "btrfs: zoned: wait until zone is finished when allocation didn't progress" diff --git a/tests/btrfs/275 b/tests/btrfs/275 index b34fbda019..955a0c985f 100755 --- a/tests/btrfs/275 +++ b/tests/btrfs/275 @@ -9,11 +9,9 @@ . ./common/preamble _begin_fstest auto quick attr -# Import common functions. . ./common/filter . ./common/attr -# real QA test starts here _supported_fs btrfs _fixed_by_kernel_commit b51111271b03 \ "btrfs: check if root is readonly while setting security xattr" diff --git a/tests/btrfs/277 b/tests/btrfs/277 index 5bb7ffabdd..9770e1c1cc 100755 --- a/tests/btrfs/277 +++ b/tests/btrfs/277 @@ -17,13 +17,9 @@ _cleanup() rm -r -f $tmp.* } -# Import common functions. . ./common/filter . ./common/verity -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_verity _require_fsverity_builtin_signatures diff --git a/tests/btrfs/278 b/tests/btrfs/278 index ff59ebd29d..c5446201a6 100755 --- a/tests/btrfs/278 +++ b/tests/btrfs/278 @@ -15,7 +15,6 @@ . ./common/preamble _begin_fstest auto quick send -# real QA test starts here _supported_fs btrfs _fixed_by_kernel_commit 9ed0a72e5b355d \ "btrfs: send: fix failures when processing inodes with no links" diff --git a/tests/btrfs/282 b/tests/btrfs/282 index 395e0626da..2c6fc5fc77 100755 --- a/tests/btrfs/282 +++ b/tests/btrfs/282 @@ -11,7 +11,6 @@ _begin_fstest auto scrub . ./common/filter -# real QA test starts here _supported_fs btrfs _wants_kernel_commit eb3b50536642 \ "btrfs: scrub: per-device bandwidth control" diff --git a/tests/btrfs/284 b/tests/btrfs/284 index 0df494bc8a..8c0f679519 100755 --- a/tests/btrfs/284 +++ b/tests/btrfs/284 @@ -10,7 +10,6 @@ . ./common/preamble _begin_fstest auto quick send compress snapshot -# Modify as appropriate. _supported_fs btrfs _require_btrfs_send_version 2 _require_test diff --git a/tests/btrfs/286 b/tests/btrfs/286 index 71f6d4bda8..3429a6116e 100755 --- a/tests/btrfs/286 +++ b/tests/btrfs/286 @@ -10,12 +10,8 @@ . ./common/preamble _begin_fstest auto replace -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_command "$WIPEFS_PROG" wipefs _btrfs_get_profile_configs replace-missing diff --git a/tests/btrfs/288 b/tests/btrfs/288 index efa9a631ed..839ecc3382 100755 --- a/tests/btrfs/288 +++ b/tests/btrfs/288 @@ -11,13 +11,9 @@ _begin_fstest auto repair quick volume scrub . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_dev_pool 2 - _require_odirect # Overwriting data is forbidden on a zoned block device _require_non_zoned_device "${SCRATCH_DEV}" diff --git a/tests/btrfs/289 b/tests/btrfs/289 index f1aaf4cc5d..148bf56a64 100755 --- a/tests/btrfs/289 +++ b/tests/btrfs/289 @@ -11,9 +11,6 @@ _begin_fstest auto quick scrub repair . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch # No data checksums for NOCOW case, so can't detect corruption and repair data. diff --git a/tests/btrfs/290 b/tests/btrfs/290 index 61e741faeb..5b3f0029dc 100755 --- a/tests/btrfs/290 +++ b/tests/btrfs/290 @@ -11,7 +11,6 @@ . ./common/preamble _begin_fstest auto quick verity prealloc -# Import common functions. . ./common/filter . ./common/verity @@ -23,7 +22,6 @@ _cleanup() rm -f $tmp.* } -# real QA test starts here _supported_fs btrfs _require_scratch_verity _require_scratch_nocheck @@ -164,7 +162,6 @@ corrupt_merkle_tree() { validate $f } -# real QA test starts here _scratch_mkfs >/dev/null _scratch_mount diff --git a/tests/btrfs/291 b/tests/btrfs/291 index bfffb845fe..fc654565d1 100755 --- a/tests/btrfs/291 +++ b/tests/btrfs/291 @@ -26,13 +26,11 @@ _cleanup() _restore_fsverity_signatures } -# Import common functions. . ./common/filter . ./common/attr . ./common/dmlogwrites . ./common/verity -# real QA test starts here _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/292 b/tests/btrfs/292 index 32a7c3c589..f920d96160 100755 --- a/tests/btrfs/292 +++ b/tests/btrfs/292 @@ -13,9 +13,6 @@ _begin_fstest auto raid volume trim . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch_dev_pool 6 _require_fstrim @@ -24,7 +21,6 @@ _fixed_by_kernel_commit a7299a18a179 \ _scratch_dev_pool_get 6 - datasize=$((5 * 1024 * 1024 * 1024)) filesize=$((8 * 1024 * 1024)) nr_files=$(($datasize / $filesize)) diff --git a/tests/btrfs/294 b/tests/btrfs/294 index d7d13646f5..9d6f756649 100755 --- a/tests/btrfs/294 +++ b/tests/btrfs/294 @@ -9,12 +9,8 @@ . ./common/preamble _begin_fstest auto raid volume -# Import common functions. . ./common/filter -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs # No zoned support for RAID56 yet. diff --git a/tests/btrfs/296 b/tests/btrfs/296 index 27f48e7541..d444619854 100755 --- a/tests/btrfs/296 +++ b/tests/btrfs/296 @@ -10,7 +10,6 @@ . ./common/preamble _begin_fstest auto quick balance -# real QA test starts here _supported_fs btrfs _require_scratch_dev_pool 3 _fixed_by_kernel_commit b7625f461da6 \ diff --git a/tests/btrfs/299 b/tests/btrfs/299 index d38bf2ac1c..fe80771a8a 100755 --- a/tests/btrfs/299 +++ b/tests/btrfs/299 @@ -17,8 +17,6 @@ . ./common/preamble _begin_fstest auto quick preallocrw logical_resolve -# real QA test starts here -# Modify as appropriate. _supported_fs btrfs _require_scratch _require_xfs_io_command "falloc" "-k" diff --git a/tests/btrfs/301 b/tests/btrfs/301 index db4697247a..05e0f4c881 100755 --- a/tests/btrfs/301 +++ b/tests/btrfs/301 @@ -10,12 +10,8 @@ . ./common/preamble _begin_fstest auto quick qgroup clone subvol prealloc snapshot remount -# Import common functions. . ./common/reflink -# Real QA test starts here. - -# Modify as appropriate. _supported_fs btrfs _require_scratch_reflink _require_cp_reflink diff --git a/tests/btrfs/310 b/tests/btrfs/310 index 507485a4e5..c83b6c2963 100755 --- a/tests/btrfs/310 +++ b/tests/btrfs/310 @@ -9,12 +9,6 @@ . ./common/preamble _begin_fstest auto quick compress -# Import common functions. -# . ./common/filter - -# real QA test starts here - -# Modify as appropriate. _supported_fs btrfs _require_scratch diff --git a/tests/btrfs/311 b/tests/btrfs/311 index 7de8f05124..9899396521 100755 --- a/tests/btrfs/311 +++ b/tests/btrfs/311 @@ -22,7 +22,6 @@ _cleanup() . ./common/filter.btrfs . ./common/reflink -# Modify as appropriate. _supported_fs btrfs _require_cp_reflink _require_scratch diff --git a/tests/btrfs/320 b/tests/btrfs/320 index df7acdbb3d..6447b9f39c 100755 --- a/tests/btrfs/320 +++ b/tests/btrfs/320 @@ -10,7 +10,6 @@ . ./common/preamble _begin_fstest auto qgroup limit -# Import common functions. . ./common/filter _supported_fs btrfs |