From cebf3b37228cbde730a5448ad2dfb044600d5e03 Mon Sep 17 00:00:00 2001 From: Gu Jinxiang Date: Thu, 8 Feb 2018 14:34:19 +0800 Subject: 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 [ add quotes around sourced files, update changelog ] Signed-off-by: David Sterba --- tests/convert-tests/015-no-rollback-after-balance/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/convert-tests/015-no-rollback-after-balance/test.sh') diff --git a/tests/convert-tests/015-no-rollback-after-balance/test.sh b/tests/convert-tests/015-no-rollback-after-balance/test.sh index 47c9c6fa..2f6407f3 100755 --- a/tests/convert-tests/015-no-rollback-after-balance/test.sh +++ b/tests/convert-tests/015-no-rollback-after-balance/test.sh @@ -2,8 +2,8 @@ # Check if btrfs-convert refuses to rollback the filesystem, and leave the fs # and the convert image untouched -source "$TOP/tests/common" -source "$TOP/tests/common.convert" +source "$TEST_TOP/common" +source "$TEST_TOP/common.convert" setup_root_helper prepare_test_dev -- cgit v1.2.3