]> git.notmuchmail.org Git - notmuch/blobdiff - test/T380-atomicity.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T380-atomicity.sh
index a46a2df2a1febb740a0e5bd180da97224e0677ba..17a3e478aecad546e6a8ffee0949ef14c7db5a2e 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description='atomicity'
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 # This script tests the effects of killing and restarting "notmuch
 # new" at arbitrary points.  If notmuch new is properly atomic, the