summaryrefslogtreecommitdiff
path: root/tests/tests/mirror
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests/mirror')
-rwxr-xr-xtests/tests/mirror4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tests/mirror b/tests/tests/mirror
index 4947688..4aa756b 100755
--- a/tests/tests/mirror
+++ b/tests/tests/mirror
@@ -31,7 +31,9 @@ set -ex
: $sentinel
cat >&2 $sentinel
shift # eat HOST
-sh -c "\$*"
+export SSH_ORIGINAL_COMMAND="\$*"
+exec \${DGIT_MIRROR_SSH_WRAP_TEST-dgit-mirror-ssh-wrap} \
+ '$tmp/git-mirror/' .git --
END
chmod +x $tmp/stunt-ssh