]> git.notmuchmail.org Git - notmuch/blobdiff - test/T030-config.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T030-config.sh
index 35d757f6b227fc96bab7b32e203d4c0aac925baf..e91c36597e3c1601fc4c9b2346adb587cc7fbea0 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 test_description='"notmuch config"'
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 test_begin_subtest "Get string value"
 test_expect_equal "$(notmuch config get user.name)" "Notmuch Test Suite"