comparison auth_basic.t @ 235:8d58b624a142

Tests: fix number of skipped tests in auth_basic.t.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 25 Sep 2012 14:49:30 +0400
parents 9969fcf1f27e
children a01a53bcbf11
comparison
equal deleted inserted replaced
234:62114a0c1389 235:8d58b624a142
72 72
73 like(http_get('/'), qr!401 Unauthorized!ms, 'rejects unathorized'); 73 like(http_get('/'), qr!401 Unauthorized!ms, 'rejects unathorized');
74 74
75 SKIP: { 75 SKIP: {
76 76
77 skip 'no crypt on win32', 4 if $^O eq 'MSWin32'; 77 skip 'no crypt on win32', 5 if $^O eq 'MSWin32';
78 78
79 like(http_get_auth('/', 'crypt', 'password'), qr!SEETHIS!, 'normal crypt'); 79 like(http_get_auth('/', 'crypt', 'password'), qr!SEETHIS!, 'normal crypt');
80 unlike(http_get_auth('/', 'crypt', '123'), qr!SEETHIS!, 'normal wrong'); 80 unlike(http_get_auth('/', 'crypt', '123'), qr!SEETHIS!, 'normal wrong');
81 81
82 like(http_get_auth('/', 'crypt1', 'password'), qr!SEETHIS!, 'crypt $1$ (md5)'); 82 like(http_get_auth('/', 'crypt1', 'password'), qr!SEETHIS!, 'crypt $1$ (md5)');