btrfs-progs: tests: use built binaries for 004-send-parent-multi-subvol
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
2182142471
commit
78e1787c55
|
@ -16,13 +16,13 @@ run_check_mount_test_dev
|
||||||
here=`pwd`
|
here=`pwd`
|
||||||
cd "$TEST_MNT" || _fail "cannot chdir to TEST_MNT"
|
cd "$TEST_MNT" || _fail "cannot chdir to TEST_MNT"
|
||||||
|
|
||||||
run_check $SUDO_HELPER btrfs subvolume create subv-parent
|
run_check $SUDO_HELPER "$TOP/btrfs" subvolume create subv-parent
|
||||||
run_check $SUDO_HELPER dd if=/dev/urandom of=subv-parent/file bs=1M count=10
|
run_check $SUDO_HELPER dd if=/dev/urandom of=subv-parent/file bs=1M count=10
|
||||||
run_check $SUDO_HELPER btrfs subvolume snapshot -r subv-parent subv-snap1
|
run_check $SUDO_HELPER "$TOP/btrfs" subvolume snapshot -r subv-parent subv-snap1
|
||||||
run_check $SUDO_HELPER dd if=/dev/urandom of=subv-parent/file bs=1M count=10
|
run_check $SUDO_HELPER dd if=/dev/urandom of=subv-parent/file bs=1M count=10
|
||||||
run_check $SUDO_HELPER btrfs subvolume snapshot -r subv-parent subv-snap2
|
run_check $SUDO_HELPER "$TOP/btrfs" subvolume snapshot -r subv-parent subv-snap2
|
||||||
run_check $SUDO_HELPER dd if=/dev/urandom of=subv-parent/file bs=1M count=10
|
run_check $SUDO_HELPER dd if=/dev/urandom of=subv-parent/file bs=1M count=10
|
||||||
run_check $SUDO_HELPER btrfs subvolume snapshot -r subv-parent subv-snap3
|
run_check $SUDO_HELPER "$TOP/btrfs" subvolume snapshot -r subv-parent subv-snap3
|
||||||
|
|
||||||
run_check truncate -s0 "$here"/send.stream
|
run_check truncate -s0 "$here"/send.stream
|
||||||
run_check chmod a+w "$here"/send.stream
|
run_check chmod a+w "$here"/send.stream
|
||||||
|
|
Loading…
Reference in New Issue