summaryrefslogtreecommitdiff
path: root/tests/runtests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtests.sh')
-rw-r--r--tests/runtests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.sh b/tests/runtests.sh
index 516da6b..368140f 100644
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-REPO_TOP="$(dirname $0)/.."
+REPO_TOP=$(git rev-parse --show-toplevel)
cd "${REPO_TOP}"
echo "Basic environment"