From 6dd03561d6ca346a17a8e93c7f192f18e2c0fff2 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 26 Feb 2015 16:08:05 -0700 Subject: [PATCH] Add stunnel logging test (duh) --- test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test.sh b/test.sh index 4b04d6a..edaa7ec 100755 --- a/test.sh +++ b/test.sh @@ -142,6 +142,10 @@ title "Logging busybox" (printf 'GET /index.html HTTP/1.1\r\nHost: host\r\n\r\n' | PROTO=TCP TCPREMOTEADDR=[::1]:8765 $HTTPD >/dev/null) 2>&1 | grep -Fxq '[::1]:8765 200 6 host (null) (null) /index.html' && pass || fail +title "Logging stunnel" +(printf 'GET /index.html HTTP/1.1\r\nHost: host\r\n\r\n' | + REMOTE_HOST=::1 REMOTE_PORT=8765 $HTTPD >/dev/null) 2>&1 | grep -Fxq '::1:8765 200 6 host (null) (null) /index.html' && pass || fail + H "Options"