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/mkfs-tests/001-basic-profiles/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mkfs-tests/001-basic-profiles/test.sh') diff --git a/tests/mkfs-tests/001-basic-profiles/test.sh b/tests/mkfs-tests/001-basic-profiles/test.sh index 854ee007..b84016f7 100755 --- a/tests/mkfs-tests/001-basic-profiles/test.sh +++ b/tests/mkfs-tests/001-basic-profiles/test.sh @@ -2,7 +2,7 @@ # test various blockgroup profile combinations, use loop devices as block # devices -source $TOP/tests/common +source "$TEST_TOP/common" check_prereq mkfs.btrfs check_prereq btrfs -- cgit v1.2.3