|
8 | 8 | use ServerSetup;
|
9 | 9 | use File::Copy;
|
10 | 10 |
|
11 |
| -if ($ENV{with_openssl}eq'yes') |
12 |
| -{ |
13 |
| -plantests=> 6; |
14 |
| -} |
15 |
| -else |
| 11 | +if ($ENV{with_openssl}ne'yes') |
16 | 12 | {
|
17 | 13 | planskip_all=>'SSL not supported by this build';
|
18 | 14 | }
|
19 | 15 |
|
| 16 | +my$number_of_tests = 6; |
| 17 | + |
20 | 18 | # This is the hostname used to connect to the server.
|
21 | 19 | my$SERVERHOSTADDR ='127.0.0.1';
|
22 | 20 |
|
|
70 | 68 | "scram_channel_binding=tls-server-end-point",
|
71 | 69 | qr/channel binding type "tls-server-end-point" is not supported by this build/,
|
72 | 70 | "SCRAM authentication with tls-server-end-point as channel binding");
|
| 71 | +$number_of_tests++; |
73 | 72 | }
|
74 | 73 | test_connect_fails($common_connstr,
|
75 | 74 | "scram_channel_binding=not-exists",
|
76 | 75 | qr/unsupported SCRAM channel-binding type/,
|
77 | 76 | "SCRAM authentication with invalid channel binding");
|
| 77 | + |
| 78 | +done_testing($number_of_tests); |