]> diplodocus.org Git - nmh/blobdiff - test/oauth/test-inc
strindex.c: Move interface to own file.
[nmh] / test / oauth / test-inc
index c745692892018d78fd2a541295871c5d7a31bca3..de18d8f0d247f57f9d0b9f74fb5824c84be996c8 100755 (executable)
@@ -10,6 +10,8 @@ fi
 
 . "${srcdir}/test/oauth/common.sh"
 
+check_exit '-eq 1' inc -
+
 setup_pop
 
 #
@@ -77,6 +79,7 @@ Content-Type: application/json
 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'
@@ -93,7 +96,7 @@ EOF
 
 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"