chiark / gitweb /
tests: Test dgit-ssh-dispatch
[dgit.git] / tests / dss-ssh
diff --git a/tests/dss-ssh b/tests/dss-ssh
new file mode 100755 (executable)
index 0000000..bc179f5
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+echo >&2 '(((((((((((((((((((((((((((((((((((((((('
+set -x
+
+tmp=$DGIT_TEST_TMP
+cd /
+userhost="$1"; shift
+export SSH_ORIGINAL_COMMAND="$*"
+${DGIT_SSH_DISPATCH_TEST-dgit-ssh-dispatch} -D $tmp/dispatch-dir
+
+: '))))))))))))))))))))))))))))))))))))))))'