]> diplodocus.org Git - nmh/blobdiff - test/oauth/test-inc
Replaced use of ! with || true, for ultimate Bourne shell compatiblity.
[nmh] / test / oauth / test-inc
index c745692892018d78fd2a541295871c5d7a31bca3..3965e15f852b38c90553506909dec0460b62f404 100755 (executable)
@@ -10,6 +10,8 @@ fi
 
 . "${srcdir}/test/oauth/common.sh"
 
 
 . "${srcdir}/test/oauth/common.sh"
 
+inc - >/dev/null 2>&1 || true  # gcov
+
 setup_pop
 
 #
 setup_pop
 
 #
@@ -77,6 +79,7 @@ Content-Type: application/json
 EOF
 
 start_fakehttp
 EOF
 
 start_fakehttp
+start_pop_xoauth
 
 test_inc 'inc: error refreshing OAuth2 token
 inc: bad OAuth request; re-run with -snoop and send REDACTED output to nmh-workers'
 
 test_inc 'inc: error refreshing OAuth2 token
 inc: bad OAuth request; re-run with -snoop and send REDACTED output to nmh-workers'
@@ -93,7 +96,7 @@ EOF
 
 start_pop_xoauth
 
 
 start_pop_xoauth
 
-test_inc 'inc: -ERR [AUTH] Invalid credentials.'
+test_inc 'inc: Authentication failed: -ERR [AUTH] Invalid credentials.'
 
 # TEST
 start_test "pop server doesn't support oauth"
 
 # TEST
 start_test "pop server doesn't support oauth"