diff options
author | Gu Jinxiang <gujx@cn.fujitsu.com> | 2018-02-08 14:34:19 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-02-13 15:41:32 +0100 |
commit | cebf3b37228cbde730a5448ad2dfb044600d5e03 (patch) | |
tree | ecc36b048a74d11374ac00bb6e9ab5ab2a166b0f /tests/misc-tests/006-image-on-missing-device/test.sh | |
parent | 04cd2c0bcac7129026c80661933b4ab97d4ab9ca (diff) |
btrfs-progs: introduce TEST_TOP and INTERNAL_BIN for tests
Use TEST_TOP as base for tests to reference any files, this will be used
for git and external testsuite.
INTERNAL_BIN is needed for referencing binaries that could reside in
different paths in git vs external testsuite.
Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com>
[ add quotes around sourced files, update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/misc-tests/006-image-on-missing-device/test.sh')
-rwxr-xr-x | tests/misc-tests/006-image-on-missing-device/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc-tests/006-image-on-missing-device/test.sh b/tests/misc-tests/006-image-on-missing-device/test.sh index 2766fb17..d8b1cef2 100755 --- a/tests/misc-tests/006-image-on-missing-device/test.sh +++ b/tests/misc-tests/006-image-on-missing-device/test.sh @@ -4,7 +4,7 @@ # - btrfs-image must not loop indefinetelly # - btrfs-image will expectedly fail to produce the dump -source $TOP/tests/common +source "$TEST_TOP/common" check_prereq btrfs-image check_prereq mkfs.btrfs |