summaryrefslogtreecommitdiff
path: root/tests/ssh
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-16 16:47:19 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-24 17:45:26 +0000
commit375da56118b506d68bb3219792b48243a2989f39 (patch)
tree54ae55e0ef1a04a9355d5a719a636671913e5d12 /tests/ssh
parent3f109a333aa0186c183641312e36f34066dab9e2 (diff)
autopkgtests: Provide fake "ssh" program in tests/ which does nothing much.
Diffstat (limited to 'tests/ssh')
-rwxr-xr-xtests/ssh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ssh b/tests/ssh
new file mode 100755
index 0000000..9481a1e
--- /dev/null
+++ b/tests/ssh
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+cd /
+userhost="$1"; shift
+exec sh -c "$*"