aboutsummaryrefslogtreecommitdiff
path: root/tests/xdg-open
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-12 19:03:20 -0300
committerEuAndreh <eu@euandre.org>2021-06-12 19:05:15 -0300
commit11a4b536213001baba63c05ed56879ff508f03b0 (patch)
tree43b8ec63d942dbc82ab73ef6a3143224dc5a1c57 /tests/xdg-open
parentsrc/git-permalink.sh: Fix bad treatment of -p flag (diff)
downloadgit-permalink-11a4b536213001baba63c05ed56879ff508f03b0.tar.gz
git-permalink-11a4b536213001baba63c05ed56879ff508f03b0.tar.xz
Revert "tests/xdg-open: Remove unused file"
This reverts commit d3faf9644490a191a16c148a3f4f865b730e5188. The file was not actually unused, but used in tests to avoid side effects when running them.
Diffstat (limited to 'tests/xdg-open')
-rwxr-xr-xtests/xdg-open8
1 files changed, 8 insertions, 0 deletions
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