From 316a153abb553fbcff722924a3877c312717227a Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Sat, 18 Apr 2020 23:32:59 -0500 Subject: [PATCH] tests: use git to determine top_dir Signed-off-by: Serge Hallyn --- tests/common/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/config.sh b/tests/common/config.sh index 9b504852..b92436c5 100644 --- a/tests/common/config.sh +++ b/tests/common/config.sh @@ -2,7 +2,7 @@ set -e -build_path=/root/build/shadow-4.1.5/ +build_path=$(git rev-parse --show-toplevel) # Save the configuration files in tmp. save_config ()