From e643c5c90837040bc74babeff058f8b879fb35fe Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 2 Dec 2015 23:10:02 +0000 Subject: tests: Disable the OAUTHBEARER tests when using a non-default port number Tests 842, 843, 844, 845, 887, 888, 889, 890, 946, 947, 948 and 949 fail if a custom port number is specified via the -b option of runtests.pl. Suggested by: Kamil Dudka Bug: http://curl.haxx.se/mail/lib-2015-12/0003.html --- tests/data/test887 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/data/test887') diff --git a/tests/data/test887 b/tests/data/test887 index 92a0e88f0..70afef744 100644 --- a/tests/data/test887 +++ b/tests/data/test887 @@ -42,6 +42,10 @@ POP3 OAuth 2.0 (OAUTHBEARER) authentication pop3://%HOSTIP:%POP3PORT/887 -u user --oauth2-bearer mF_9.B5f-4.1JqM +# The data section doesn't do variable substitution, so we must assert this + +perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%POP3PORT' ne '9001' );" + # -- cgit v1.2.3