--- src/tests/test07-nomatch-abort.sh.orig 2016-04-25 15:04:43.468360647 +0200 +++ src/tests/test07-nomatch-abort.sh 2016-04-25 15:05:20.749503573 +0200 @@ -51,9 +51,7 @@ grep -q -c "unrecognized name" $DUMPFILE test "$?" = "0" || die "Expected 'unrecognized name' error." -CURL_EXTRA="--resolve site1.example.com:$LISTENPORT:127.0.0.1" -runcurl site1.example.com $LISTENPORT - +(echo -e 'GET / HTTP/1.0\nHost: site1.example.com\n'; sleep 1) | openssl s_client -connect $LISTENADDR:$LISTENPORT > $DUMPFILE 2>&1 # SNI request w/ valid servername echo -e "\n" | openssl s_client -servername site1.example.com -prexit -connect $LISTENADDR:$((LISTENPORT+1)) >$DUMPFILE 2>&1 test "$?" = "0" || die "s_client failed"