]> git.notmuchmail.org Git - notmuch/blobdiff - test/T410-argument-parsing.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T410-argument-parsing.sh
index 4a2b25c6486d5a3cc76dc9759b1520f1bcf034c4..71ed7e38553bcd9e1794992ecfae56e42a2ea4ec 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="argument parsing"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 test_begin_subtest "sanity check"
 $TEST_DIRECTORY/arg-test  pos1  --keyword=one --boolean --string=foo pos2 --int=7 --flag=one --flag=three > OUTPUT