$ prove -vb t
t\01basic.t ...........
1..70
# Running under perl version 5.016001 for MSWin32
# Current time local: Mon Nov 25 15:53:57 2013
# Current time GMT: Mon Nov 25 23:53:57 2013
# Using Test.pm version 1.25_02
ok 1
ok 2
ok 3
ok 4
Warning: ok 5
ok 6
Output redirection not supported on Win32 - ignoring pipe! at line 1,
+ column 9,
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
<?xml version='1.0' encoding='utf-8'?>
<scratch/>
<?xml version='1.0' encoding='utf-8'?>
<scratch/>
1
1
1
1
1
1
1
2
2
1
3
3
1
4
4
1
5
5
1
6
6
1
7
7
1
8
8
1
9
9
1
1
1
total 328
-rw-rw-rw- 1 _ 0 6355 2013-10-24 16:32 Artistic
drw-rw-rw- 8 _ 0 0 2013-11-25 15:50 blib
-rw-rw-rw- 1 _ 0 501 2013-10-24 16:32 BUGS
-rw-rw-rw- 1 _ 0 10596 2013-10-24 16:32 Changes
-rw-rw-rw- 1 _ 0 1811 2013-10-24 16:32 INSTALL
drw-rw-rw- 3 _ 0 0 2013-11-25 08:21 lib
-rw-rw-rw- 1 _ 0 18009 2013-10-24 16:32 LICENSE
-rw-rw-rw- 1 _ 0 36014 2013-11-25 15:50 Makefile
-rw-rw-rw- 1 _ 0 2973 2013-11-25 04:04 Makefile.PL
-rw-rw-rw- 1 _ 0 1095 2013-11-25 08:21 MANIFEST
-rw-rw-rw- 1 _ 0 1361 2013-11-25 08:21 META.json
-rw-rw-rw- 1 _ 0 783 2013-11-25 08:21 META.yml
-rw-rw-rw- 1 _ 0 1454 2013-11-25 15:50 MYMETA.json
-rw-rw-rw- 1 _ 0 857 2013-11-25 15:50 MYMETA.yml
-rw-rw-rw- 1 _ 0 0 2013-11-25 15:50 pm_to_blib
-rw-rw-rw- 1 _ 0 1915 2013-10-24 16:32 README
drw-rw-rw- 2 _ 0 0 2013-11-25 08:21 src
drw-rw-rw- 2 _ 0 0 2013-11-25 08:21 t
-rw-rw-rw- 1 _ 0 1496 2013-10-24 16:32 TODO
drw-rw-rw- 2 _ 0 0 2013-11-25 08:21 tools
-rw-rw-rw- 1 _ 0 20694 2013-11-25 08:20 xsh
-rw-rw-rw- 1 _ 0 176990 2013-11-25 15:50 XSH2.pod
-rw-rw-rw- 1 _ 0 9710 2013-10-24 16:32 XSH2_NOTES
ok 20
sh test: ; echo (success);ok 21
ok 22
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 1, column 10,
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ ok 30
line 1, column 46,
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 1, column 33,
ok 42
ok 43
ok 44
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 1, column 33,
ok 45
ok 46
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 1, column 18,
ok 47
ok 48
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 1, column 9,
Warning: ok 49
ok 50
Output redirection not supported on Win32 - ignoring pipe! at line 1,
+ column 9,
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 1, column 13,
ok 57
ok 58
Warning: ok 59
Output redirection not supported on Win32 - ignoring pipe! at line 1,
+ column 10,
ok 60
Warning: ok 61
ok 62
Output redirection not supported on Win32 - ignoring pipe! at line 1,
+ column 10,
ok 63
Warning: ok 64
Output redirection not supported on Win32 - ignoring pipe! at line 1,
+ column 12,
ok 65
ok 66
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 1, column 18,
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 2, column 12, offset 31.
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 3, column 15, offset 47.
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 4, column 14, offset 62.
ok 67
ok 68
Warning: ok 69
Output redirection not supported on Win32 - ignoring pipe! at line 2,
+ column 10, offset 11.
ok 70
<?xml version='1.0' encoding='utf-8'?>
<scratch>...</scratch>
myfunc
$t := open 'scratch.xml';
$scratch := open 'scratch.xml';
<?xml version="1.0" encoding="utf-8"?>
<scratch>
<foo/>
<foo bar="0" count="1"/>
<foo bar="1" count="2"/>
<foo bar="2" count="3"/>
<foo bar="3" count="4"/>
<foo bar="4" count="5"/>
<foo bar="5" count="6"/>
<foo bar="6" count="7"/>
<foo bar="7" count="8"/>
<foo bar="8" count="9"/>
</scratch>
/scratch/foo[1]
<foo>no. </foo>
/scratch/foo[2]
<foo bar="0" count="1">no. </foo>
/scratch/foo[3]
<foo bar="1" count="2">no. </foo>
/scratch/foo[4]
<foo bar="2" count="3">no. </foo>
/scratch/foo[5]
<foo bar="3" count="4">no. </foo>
/scratch/foo[6]
<foo bar="4" count="5">no. </foo>
/scratch/foo[7]
<foo bar="5" count="6">no. </foo>
/scratch/foo[8]
<foo bar="6" count="7">no. </foo>
/scratch/foo[9]
<foo bar="7" count="8">no. </foo>
/scratch/foo[10]
<foo bar="8" count="9">no. </foo>
<foo>no. </foo>
<foo bar="0" count="1">no. 0</foo>
<foo bar="1" count="2">no. 1</foo>
<foo bar="2" count="3">no. 2</foo>
<foo bar="3" count="4">no. 3</foo>
<foo bar="4" count="5">no. 4</foo>
<foo bar="5" count="6">no. 5</foo>
<foo bar="6" count="7">no. 6</foo>
<foo bar="7" count="8">no. 7</foo>
<foo bar="8" count="9">no. 8</foo>
no. 8
1
<oof>NO. </oof>
1
<foo bar="1" count="2">
<oof>NO. </oof>
</foo>
1
/scratch/oof[1]
/scratch/oof[2]
/scratch/oof[3]
/scratch/oof[4]
/scratch/oof[5]
/scratch/oof[6]
/scratch/oof[7]
/scratch/oof[8]
/scratch/oof[9]
/scratch/foo[3]/oof/text()
/scratch/foo[3]
1
1
1
<?xml version="1.0" encoding="utf-8"?>
<test/>
1
1
1
1
<!DOCTYPE root [
<!ELEMENT root (#PCDATA | br)*>
<!ATTLIST root id ID #REQUIRED>
<!ELEMENT br EMPTY>
]>
yes
<?xml version='1.0' encoding='iso-8859-1'?>
<!DOCTYPE root [
<!ELEMENT root (#PCDATA | br)*>
<!ATTLIST root id ID #REQUIRED>
<!ELEMENT br EMPTY>
]>
<root id="root1">...</root>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE root [
<!ELEMENT root (#PCDATA | br)*>
<!ATTLIST root id ID #REQUIRED>
<!ELEMENT br EMPTY>
]>
<root id="root1">
My test document <br/><silly/>is quite nice and <br/><silly/>simple.
</root>
1
<?xml version="1.0" encoding="utf-8"?>
<scratch>
<oof bar="0" count="1">NO. 0</oof>
<oof bar="1" count="2">NO. 1</oof>
<oof bar="2" count="3">NO. 2</oof>
<oof bar="3" count="4">NO. 3</oof>
<oof bar="4" count="5">NO. 4</oof>
<oof bar="5" count="6">NO. 5</oof>
<oof bar="6" count="7">NO. 6</oof>
<oof bar="7" count="8">NO. 7</oof>
<oof bar="8" count="9">NO. 8</oof>
</scratch>
<?xml version="1.0" encoding="utf-8"?>
<scratch>
<foo/>
<foo bar="0" count="1"/>
<foo bar="1" count="2"/>
<foo bar="2" count="3"/>
<foo bar="3" count="4"/>
<foo bar="4" count="5"/>
<foo bar="5" count="6"/>
<foo bar="6" count="7"/>
<foo bar="7" count="8"/>
<foo bar="8" count="9"/>
</scratch>
<?xml version="1.0" encoding="utf-8"?>
<test/>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE root [
<!ELEMENT root (#PCDATA | br)*>
<!ATTLIST root id ID #REQUIRED>
<!ELEMENT br EMPTY>
]>
<root id="root1">
My test document <br/><silly/>is quite nice and <br/><silly/>simple.
</root>
<?xml version="1.0" encoding="utf-8"?>
<scratch>
<foo/>
<foo bar="0" count="1"/>
<foo bar="1" count="2"/>
<foo bar="2" count="3"/>
<foo bar="3" count="4"/>
<foo bar="4" count="5"/>
<foo bar="5" count="6"/>
<foo bar="6" count="7"/>
<foo bar="7" count="8"/>
<foo bar="8" count="9"/>
</scratch>
Failed 1/70 subtests
t\02gdome.t ...........
1..1
# Running under perl version 5.016001 for MSWin32
# Current time local: Mon Nov 25 15:54:01 2013
# Current time GMT: Mon Nov 25 23:54:01 2013
# Using Test.pm version 1.25_02
ok 1
ok
t\03copy.t ............
1..20
# Running under perl version 5.016001 for MSWin32
# Current time local: Mon Nov 25 15:54:02 2013
# Current time GMT: Mon Nov 25 23:54:02 2013
# Using Test.pm version 1.25_02
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17Warning: Output redirection not supported on Win32 - ignoring pip
+e!
ok 18
ok 19
at line 1, column 24,
ok 20
ok
t\04flow.t ............
1..43
# Running under perl version 5.016001 for MSWin32
# Current time local: Mon Nov 25 15:54:03 2013
# Current time GMT: Mon Nov 25 23:54:03 2013
# Using Test.pm version 1.25_02
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
<scratch><a/><a/><a/></scratch>
ok
t\05misc.t ............
1..45
# Running under perl version 5.016001 for MSWin32
# Current time local: Mon Nov 25 15:54:05 2013
# Current time GMT: Mon Nov 25 23:54:05 2013
# Using Test.pm version 1.25_02
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
<scratch>
<a10/>
<b8/>
<c1/>
<d3/>
</scratch>
<scratch><a10/><b8/><c1/><d3/></scratch>
<c1/>
<d3/>
<b8/>
<a10/>
ok
t\06wrap.t ............
1..65
# Running under perl version 5.016001 for MSWin32
# Current time local: Mon Nov 25 15:54:06 2013
# Current time GMT: Mon Nov 25 23:54:06 2013
# Using Test.pm version 1.25_02
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 1, column 42,
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
ok 57
ok 58
ok 59
ok 60
ok 61
ok 62
ok 63
ok 64
ok 65
<?xml version="1.0" encoding="utf-8"?>
<foo>
<elem ccc="ddd">
<scratch>
<elem ccc="ddd">
<a:A xmlns:a="http://foo/bar" bar="baz"/>
</elem>
<elem ccc="ddd">
<text aaa="bbb">some text</text>
</elem>
</scratch>
</elem>
</foo>
<elem ccc="ddd">
<scratch>
<elem ccc="ddd">
<a:A xmlns:a="http://foo/bar" bar="baz"/>
</elem>
<elem ccc="ddd">
<text aaa="bbb">some text</text>
</elem>
</scratch>
</elem>
<elem ccc="ddd">
<a:A xmlns:a="http://foo/bar" bar="baz"/>
</elem>
<elem ccc="ddd">
<text aaa="bbb">some text</text>
</elem>
<?foo ?><foo/><!--foo-->
<?foo ?><foo/><!--foo-->
<foo><?foo ?></foo><!--foo-->
ok
t\07functions.t .......
1..129
# Running under perl version 5.016001 for MSWin32
# Current time local: Mon Nov 25 15:54:09 2013
# Current time GMT: Mon Nov 25 23:54:09 2013
# Using Test.pm version 1.25_02
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
ok 57
ok 58
ok 59
ok 60
ok 61
ok 62
ok 63
ok 64
ok 65
ok 66
ok 67
ok 68
ok 69
ok 70
ok 71
ok 72
ok 73
ok 74
ok 75
ok 76
ok 77
ok 78
ok 79
ok 80
ok 81
ok 82
ok 83
ok 84
ok 85
ok 86
ok 87
ok 88
ok 89
ok 90
ok 91
ok 92
ok 93
ok 94
ok 95
ok 96
ok 97
ok 98
ok 99
ok 100
ok 101
ok 102
ok 103
ok 104
ok 105
ok 106
ok 107
ok 108
ok 109
ok 110
ok 111
ok 112
ok 113
ok 114
Warning: Output redirection not supported on Win32 - ignoring pipe! at
+ line 1, column 47,
ok 115
ok 116
ok 117
ok 118
ok 119
ok 120
ok 121
ok 122
ok 123
ok 124
ok 125
ok 126
ok 127
ok 128
ok 129
4
2
2
foo
0013
/a
/a
/a/b
/a/b
/a/b/text()
/a/b/text()
/a/c
/a/c
/a/c/text()
/a/c/text()
ok
t\08more_functions.t ..
1..17
# Running under perl version 5.016001 for MSWin32
# Current time local: Mon Nov 25 15:54:11 2013
# Current time GMT: Mon Nov 25 23:54:11 2013
# Using Test.pm version 1.25_02
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok
Test Summary Report
-------------------
t\01basic.t (Wstat: 0 Tests: 69 Failed: 0)
Parse errors: Tests out of sequence. Found (22) but expected (21)
Tests out of sequence. Found (23) but expected (22)
Tests out of sequence. Found (24) but expected (23)
Tests out of sequence. Found (25) but expected (24)
Tests out of sequence. Found (26) but expected (25)
Displayed the first 5 of 50 TAP syntax errors.
Re-run prove with the -p option to see them all.
Files=8, Tests=389, 16 wallclock secs ( 0.44 usr + 0.03 sys = 0.47 C
+PU)
Result: FAIL
$
This part in makefile still not portable ... oneliners arent portable :)