diff options
| author | Jani Nikula <jani@nikula.org> | 2017-09-25 23:38:19 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-10-20 19:52:49 -0300 |
| commit | a863de1e43ee34f6f5794a2759fdceb287e851aa (patch) | |
| tree | 3e3b39e88ef26ea1952afdfca42134e3944d7fec /test/T690-command-line-args.sh | |
| parent | 0dd58ea7e7f2af3fea2ba747a49c1d8bb3cdeaad (diff) | |
test: use $(dirname "$0") for sourcing test-lib.sh
Don't assume the tests are always run from within the source tree.
Diffstat (limited to 'test/T690-command-line-args.sh')
| -rwxr-xr-x | test/T690-command-line-args.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T690-command-line-args.sh b/test/T690-command-line-args.sh index a4f4b5f5..9aa47611 100755 --- a/test/T690-command-line-args.sh +++ b/test/T690-command-line-args.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash test_description="command line arguments" -. ./test-lib.sh || exit 1 +. $(dirname "$0")/test-lib.sh || exit 1 add_message |
