diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cli-opts.sh | 2 | ||||
-rwxr-xr-x | tests/xdg-open | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/cli-opts.sh b/tests/cli-opts.sh index befff4d..aa065d9 100755 --- a/tests/cli-opts.sh +++ b/tests/cli-opts.sh @@ -3,6 +3,8 @@ set -u . aux/tests-lib.sh +export PATH="$PWD/tests:$PATH" + test_help_flags() { testing 'help flags' diff --git a/tests/xdg-open b/tests/xdg-open new file mode 100755 index 0000000..0b89ef4 --- /dev/null +++ b/tests/xdg-open @@ -0,0 +1,8 @@ +#!/bin/sh +set -eu + +# This is a noop executable, to test git-permalink without interating +# with xdg-open proper. + +# shellcheck disable=2145 +echo "xdg-open: $@" >&2 |