summaryrefslogtreecommitdiffstats
path: root/test/t2100-mkpkglists.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/t2100-mkpkglists.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/t2100-mkpkglists.t')
-rwxr-xr-xtest/t2100-mkpkglists.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t2100-mkpkglists.t b/test/t2100-mkpkglists.t
index fc11d073..5bf13de8 100755
--- a/test/t2100-mkpkglists.t
+++ b/test/t2100-mkpkglists.t
@@ -2,7 +2,7 @@
test_description='mkpkglists tests'
-. ./setup.sh
+. "$(dirname "$0")/setup.sh"
test_expect_success 'Test package list generation with no packages.' '
echo "DELETE FROM Packages;" | sqlite3 aur.db &&