mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 07:02:45 +00:00
btrfs-progs: tests: 006-image-on-missing-device: fix btrfs tool path
If btrfs isn't in the path, this test will fail with: [TEST/misc] 006-image-on-missing-device failed: btrfs fi show /dev/loop0 test failed for case 006-image-on-missing-device Makefile:226: recipe for target 'test-misc' failed make: *** [test-misc] Error 1 Fix the test script by adding $TOP to the path. Signed-off-by: Luis Henriques <henrix@camandro.org> [ updated to full command names ] Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
a804254361
commit
08c70e18de
@ -61,12 +61,12 @@ test_run()
|
||||
run_check $SUDO_HELPER umount $TEST_MNT
|
||||
|
||||
test_image_dump
|
||||
run_check btrfs fi show $dev1
|
||||
run_check $TOP/btrfs filesystem show $dev1
|
||||
# create a degraded raid1 filesystem, check must succeed
|
||||
# btrfs-image must not loop
|
||||
run_mayfail wipefs -a $dev2
|
||||
run_check $SUDO_HELPER losetup -d $dev2
|
||||
run_check btrfs fi show $dev1
|
||||
run_check $TOP/btrfs filesystem show $dev1
|
||||
|
||||
test_image_dump
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user