chiark / gitweb /
autopkgtests: Provide fake "ssh" program in tests/ which does nothing much.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Nov 2013 16:47:19 +0000 (16:47 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Nov 2013 17:45:26 +0000 (17:45 +0000)
debian/changelog
tests/ssh [new file with mode: 0755]

index 5a543d7..ff334e4 100644 (file)
@@ -2,6 +2,7 @@ dgit (0.19~experimental1) experimental; urgency=low
 
   Testing facilities:
   * Provide "test-dummy" distro with "dummycat" access method.
+  * Provide fake "ssh" program in tests/ which does nothing much.
 
  --
 
diff --git a/tests/ssh b/tests/ssh
new file mode 100755 (executable)
index 0000000..9481a1e
--- /dev/null
+++ b/tests/ssh
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+cd /
+userhost="$1"; shift
+exec sh -c "$*"