diff options
Diffstat (limited to 'tests/btrfs/022')
-rwxr-xr-x | tests/btrfs/022 | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/tests/btrfs/022 b/tests/btrfs/022 index 5369cf85..bfd6ac7f 100755 --- a/tests/btrfs/022 +++ b/tests/btrfs/022 @@ -6,31 +6,16 @@ # # Test the basic functionality of qgroups # -seq=`basename $0` -seqres=$RESULT_DIR/$seq -echo "QA output created by $seq" +. ./common/preamble +_begin_fstest auto qgroup limit -here=`pwd` -tmp=/tmp/$$ -status=1 # failure is the default! -trap "_cleanup; exit \$status" 0 1 2 3 15 - -_cleanup() -{ - cd / - rm -f $tmp.* -} - -# get standard environment, filters and checks -. ./common/rc +# Import common functions. . ./common/filter _supported_fs btrfs _require_scratch _require_btrfs_qgroup_report -rm -f $seqres.full - # Test to make sure we can actually turn it on and it makes sense _basic_test() { |