]> diplodocus.org Git - nmh/blobdiff - test/send/test-sendfrom
Change the tests to make them work with the new program output
[nmh] / test / send / test-sendfrom
index 68ddb276f1117e588cfaa267e06d4fcee6476715..7333d1bdc3df9428a917ff9609cfbcd9075c2ba6 100755 (executable)
@@ -51,9 +51,12 @@ QUIT
 EOF
 
 cat > "${testname}.post-expected" <<EOF
+Trying to connect to "127.0.0.1" ...
+Connecting to 127.0.0.1:${localport}...
 <= 220 Not really an ESMTP server
 => EHLO nosuchhost.example.com
-<= 250 I'll buy that for a dollar!
+<= 250-ready
+<= 250 AUTH XOAUTH2
 => MAIL FROM:<nobody@example.com>
 <= 250 I'll buy that for a dollar!
 => RCPT TO:<somebody@example.com>
@@ -67,7 +70,7 @@ cat > "${testname}.post-expected" <<EOF
 EOF
 
 test_post "${testname}.actual" "${testname}.expected" \
-    > ${testname}.post 2>/dev/null
+    2> ${testname}.post
 
 check "${testname}.post-expected" "${testname}.post"