From: Ian Jackson Date: Sat, 16 Nov 2013 16:47:19 +0000 (+0000) Subject: autopkgtests: Provide fake "ssh" program in tests/ which does nothing much. X-Git-Tag: debian/0.19~30 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=375da56118b506d68bb3219792b48243a2989f39 autopkgtests: Provide fake "ssh" program in tests/ which does nothing much. --- diff --git a/debian/changelog b/debian/changelog index 5a543d79..ff334e43 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 index 00000000..9481a1e2 --- /dev/null +++ b/tests/ssh @@ -0,0 +1,5 @@ +#!/bin/sh +set -e +cd / +userhost="$1"; shift +exec sh -c "$*"