summaryrefslogtreecommitdiffstats
path: root/test/t2300-pkgmaint.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/t2300-pkgmaint.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/t2300-pkgmaint.t')
-rwxr-xr-xtest/t2300-pkgmaint.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t2300-pkgmaint.t b/test/t2300-pkgmaint.t
index 478df526..c390f5db 100755
--- a/test/t2300-pkgmaint.t
+++ b/test/t2300-pkgmaint.t
@@ -2,7 +2,7 @@
test_description='pkgmaint tests'
-. ./setup.sh
+. "$(dirname "$0")/setup.sh"
test_expect_success 'Test package base cleanup script.' '
now=$(date -d now +%s) &&