]> diplodocus.org Git - nmh/blobdiff - test/oauth/test-inc
mh-mkstemp.man: Detail exit status as 255 rather than -1.
[nmh] / test / oauth / test-inc
index c745692892018d78fd2a541295871c5d7a31bca3..38e25f6fe18dd80f2fda4c1c8457f09b3aaf59c7 100755 (executable)
@@ -10,6 +10,8 @@ fi
 
 . "${srcdir}/test/oauth/common.sh"
 
 
 . "${srcdir}/test/oauth/common.sh"
 
+check_exit '-eq 1' inc - # 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"