summaryrefslogtreecommitdiffstats
path: root/test/t1100-git-auth.t
diff options
context:
space:
mode:
authorFrédéric Mangano-Tarumi <fmang@mg0.fr>2020-02-29 01:01:38 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2020-02-29 14:56:47 +0100
commit90c0a361b5cb8f72a9c908104b399451712fb7c5 (patch)
tree0456748c46858671c886ef4af372ac6829328977 /test/t1100-git-auth.t
parente374a91febe53b72ff4cb73b153348f067374c68 (diff)
downloadaur-90c0a361b5cb8f72a9c908104b399451712fb7c5.tar.gz
aur-90c0a361b5cb8f72a9c908104b399451712fb7c5.tar.xz
Support running tests from any directory
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'test/t1100-git-auth.t')
-rwxr-xr-xtest/t1100-git-auth.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t1100-git-auth.t b/test/t1100-git-auth.t
index 71d526f2..cbf16aed 100755
--- a/test/t1100-git-auth.t
+++ b/test/t1100-git-auth.t
@@ -2,7 +2,7 @@
test_description='git-auth tests'
-. ./setup.sh
+. "$(dirname "$0")/setup.sh"
test_expect_success 'Test basic authentication.' '
"$GIT_AUTH" "$AUTH_KEYTYPE_USER" "$AUTH_KEYTEXT_USER" >out &&