Subject: | nmake test fails |
Here's what happened:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\lee.goddard>cd C:\temp\HTML-Sanitizer-0.04
C:\temp\HTML-Sanitizer-0.04>perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for HTML::Sanitizer
C:\temp\HTML-Sanitizer-0.04>nmake test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cp Sanitizer.pm blib\lib\HTML\Sanitizer.pm
C:\Perl\bin\perl.exe -Mblib -IC:\Perl\lib -IC:\Perl\lib -e "use Test::Ha
rness qw(&runtests $verbose); $verbose=0; runtests @ARGV;" t\01rules.t t\02funct
ions.t t\03security.t
Using C:/temp/HTML-Sanitizer-0.04/blib
t\01rules........ok
t\02functions....ok
t\03security.....ok 2/4# Failed test (t\03security.t at line 35)
# got: '<p>unsafe</p>'
# expected: '<p>unsafe</p><script'
t\03security.....NOK 3# Failed test (t\03security.t at line 40)
t\03security.....NOK 4# got: ''
# expected: '<p attr_ok="test>unsafe</p>'
# Looks like you failed 2 tests of 4.
t\03security.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\03security.t 2 512 4 2 50.00% 3-4
Failed 1/3 test scripts, 66.67% okay. 2/38 subtests failed, 94.74% okay.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
C:\temp\HTML-Sanitizer-0.04>