tests: use git to determine top_dir

Signed-off-by: Serge Hallyn <shallyn@cisco.com>
This commit is contained in:
Serge Hallyn 2020-04-18 23:32:59 -05:00 committed by Serge Hallyn
parent 6e6494680d
commit 316a153abb

View File

@ -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 ()