summaryrefslogtreecommitdiffstats
path: root/test/t2700-usermaint.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/t2700-usermaint.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/t2700-usermaint.t')
-rwxr-xr-xtest/t2700-usermaint.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t2700-usermaint.t b/test/t2700-usermaint.t
index 4f625142..f0bb449b 100755
--- a/test/t2700-usermaint.t
+++ b/test/t2700-usermaint.t
@@ -2,7 +2,7 @@
test_description='usermaint tests'
-. ./setup.sh
+. "$(dirname "$0")/setup.sh"
test_expect_success 'Test removal of login IP addresses.' '
now=$(date -d now +%s) &&