btrfs-progs: tests: 006-image-on-missing-device: fix btrfs tool path
authorLuis Henriques <henrix@camandro.org>
Mon, 4 Jul 2016 22:48:47 +0000 (23:48 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 13 Jul 2016 16:44:33 +0000 (18:44 +0200)
commit08c70e18defee0eed543f5a2ee88beed7a710d5f
tree8645df10d27cbf186944573c5348afc4ea87025c
parenta804254361a8cf04696ba3869a66c131ee6c3d4b
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>
tests/misc-tests/006-image-on-missing-device/test.sh