]> git.notmuchmail.org Git - notmuch/blobdiff - test/T480-hex-escaping.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T480-hex-escaping.sh
index 18b56600480c7052e09b5e94973d0a0d852c84e9..28564c3c9da2d8c308940865896363e9a3fda5ef 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="hex encoding and decoding"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 test_begin_subtest "round trip"
 find $TEST_DIRECTORY/corpora/default -type f -print | sort | xargs cat > EXPECTED