summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-10-25 00:09:05 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-10-25 00:09:05 -0400
commit07a4017dae6ae462b4710db8a28a3a2e84cd1eda (patch)
treefe86eadd004f5ac23350ae8af73d7aae1c888f23
parent023b6d1e72f904a0f9147fa5c5a0dffa38be9461 (diff)
add a socat-based sshd invocation to the basic test suite.
-rwxr-xr-xtests/basic3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/basic b/tests/basic
index 4daaf29..b9ae8f1 100755
--- a/tests/basic
+++ b/tests/basic
@@ -88,8 +88,7 @@ EOF
# launch sshd with the new host key.
echo "-- starting sshd..."
-mkfifo "$SOCKET"
-/usr/sbin/sshd -f "$TEMPDIR"/sshd_config -i <>"$SOCKET"
+socat EXEC:'/usr/sbin/sshd -f '"$TEMPDIR"/sshd_config' -i -d -d -d -D -e' "UNIX-LISTEN:${TEMPDIR/socket}" &
### TESTUSER TESTS