mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
btrfs: use full subcommand names
Update the remaining calls to 'btrfs' that use shortened command names. Use of full names is recommended to avoid any ambiguities. Signed-off-by: David Sterba <dsterba@suse.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ run_test()
|
|||||||
_scratch_mount >>$seqres.full 2>&1
|
_scratch_mount >>$seqres.full 2>&1
|
||||||
|
|
||||||
local missing_dev=`echo $SCRATCH_DEV_POOL | awk '{print $2}'`
|
local missing_dev=`echo $SCRATCH_DEV_POOL | awk '{print $2}'`
|
||||||
local missing_dev_id=`$BTRFS_UTIL_PROG fi show $SCRATCH_MNT | grep $missing_dev | awk '{print $2}'`
|
local missing_dev_id=`$BTRFS_UTIL_PROG filesystem show $SCRATCH_MNT | grep $missing_dev | awk '{print $2}'`
|
||||||
|
|
||||||
# get some data on the filesystem so there's something to replace
|
# get some data on the filesystem so there's something to replace
|
||||||
_ddt of="$SCRATCH_MNT"/file1 bs=1M count=1 >> $seqres.full 2>&1
|
_ddt of="$SCRATCH_MNT"/file1 bs=1M count=1 >> $seqres.full 2>&1
|
||||||
|
|||||||
+3
-3
@@ -134,14 +134,14 @@ test_orphan()
|
|||||||
|
|
||||||
new_subvolume()
|
new_subvolume()
|
||||||
{
|
{
|
||||||
_run_btrfs_util_prog subvol create $SCRATCH_MNT/testdir
|
_run_btrfs_util_prog subvolume create $SCRATCH_MNT/testdir
|
||||||
}
|
}
|
||||||
|
|
||||||
new_default()
|
new_default()
|
||||||
{
|
{
|
||||||
new_subvolume
|
new_subvolume
|
||||||
SUB=$($BTRFS_UTIL_PROG subvol list $SCRATCH_MNT |awk '{print $2}')
|
SUB=$($BTRFS_UTIL_PROG subvolume list $SCRATCH_MNT |awk '{print $2}')
|
||||||
_run_btrfs_util_prog subvol set-default $SUB $SCRATCH_MNT
|
_run_btrfs_util_prog subvolume set-default $SUB $SCRATCH_MNT
|
||||||
|
|
||||||
_unmount_flakey
|
_unmount_flakey
|
||||||
_mount_flakey
|
_mount_flakey
|
||||||
|
|||||||
Reference in New Issue
Block a user