add a socat-based sshd invocation to the basic test suite.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 25 Oct 2008 04:09:05 +0000 (00:09 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 25 Oct 2008 04:09:05 +0000 (00:09 -0400)
tests/basic

index 4daaf298c50de050f4d83ece248198215cada59e..b9ae8f110146b37d0669f6afe7a57e78393a8d83 100755 (executable)
@@ -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