2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2013 Fujitsu. All Rights Reserved.
5 # FS QA Test No. btrfs/014
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
15 status=1 # failure is the default!
21 $BTRFS_UTIL_PROG subvolume snapshot $SCRATCH_MNT $SCRATCH_MNT/snapshot0 >/dev/null
22 $BTRFS_UTIL_PROG subvolume delete $SCRATCH_MNT/snapshot0 >/dev/null
30 _run_btrfs_balance_start $SCRATCH_MNT >> $seqres.full
34 #get standard environment, filters and checks
38 # real QA test starts here
43 _scratch_mkfs >/dev/null 2>&1
46 echo "Tip: Run dmesg to see the error on failure"