Using current CVS with 2.0.49 / 5.8.4:
C:\Temp\modperl-2.0>perl t/TEST -verbose t\hooks\authen_digest.t
[...]
t\hooks\authen_digest....1..7
# Running under perl version 5.008004 for MSWin32
# Current time local: Fri Aug 13 17:53:32 2004
# Current time GMT: Fri Aug 13 16:53:32 2004
# Using Test.pm version 1.24
# Using Apache/Test.pm version 1.13
# testing : handler returned HTTP_OK
# expected: 200
# received: 200
ok 1
# response had no WWW-Authenticate header
ok 2
# testing : handler returned HTTP_UNAUTHORIZED
# expected: 401
# received: 401
ok 3
# Failed test 7 in t\hooks\authen_digest.t at line 45
# response had a WWW-Authenticate header
ok 4
# testing : response is using Digest authentication scheme
# expected: (?-xism:^Digest)
# received: Digest realm="Simple Digest", nonce="%lx"
ok 5
# testing : WWW-Authenticate header contains the proper realm
# expected: (?-xism:realm="Simple Digest")
# received: Digest realm="Simple Digest", nonce="%lx"
ok 6
# testing : WWW-Authenticate header contains a nonce
# expected: (?-xism:nonce="\w+")
# received: Digest realm="Simple Digest", nonce="%lx"
not ok 7
FAILED test 7
Failed 1/7 tests, 85.71% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\hooks\authen_digest.t 7 1 14.29% 7
Failed 1/1 test scripts, 0.00% okay. 1/7 subtests failed, 85.71% okay.
Nothing useful in error_log
------------------------------------------------
Radan Computational Ltd.
The information contained in this message and any files transmitted with it are
confidential and intended for the addressee(s) only. If you have received this
message in error or there are any problems, please notify the sender immediately. The
unauthorized use, disclosure, copying or alteration of this message is strictly
forbidden. Note that any views or opinions presented in this email are solely those
of the author and do not necessarily represent those of Radan Computational Ltd. The
recipient(s) of this message should check it and any attached files for viruses: Radan
Computational will accept no liability for any damage caused by any virus transmitted
by this email.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]