Subject: | "List" tests fail ( t/40add.t and t/20list.t ) |
-------------------
t/20list.t (Wstat: 65280 Tests: 5 Failed: 1)
Failed test: 5
Non-zero exit status: 255
Parse errors: Bad plan. You planned 53 tests but ran 5.
t/40add.t (Wstat: 768 Tests: 15 Failed: 3)
Failed tests: 13-15
TODO passed: 7
Non-zero exit status: 3
...
not ok 5 - list structure is an array ref
# Failed test 'list structure is an array ref'
# at t/20list.t line 54.
Can't use an undefined value as an ARRAY reference at t/20list.t line 55.
# Looks like you planned 53 tests but ran 5.
# Looks like you failed 1 test of 5 run.
# Looks like your test exited with 255 just after 5.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 49/53 subtests
...
"rar" "vt" "-y" "/tmp/VjnSdqR81l/add_test.rar"
ok 12 - List(-archive) succeeded
not ok 13 - List structure is defined and array ref and length 1
not ok 14
# Failed test 'List structure is defined and array ref and length 1'
# at t/40add.t line 61.
# Failed test at t/40add.t line 67.
not ok 15
# Failed test at t/40add.t line 67.
# Looks like you failed 3 tests of 15.
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/15 subtests
Further inspection suggests the regex you're poking for in the List() call, /^----------/
Never matches.
rar vt -y t/data/test.rar
RAR 5.21 Copyright (c) 1993-2015 Alexander Roshal 15 Feb 2015
Trial version Type RAR -? for help
Archive: t/data/test.rar
Details: RAR 4
Name: README
Type: File
Size: 890
Packed size: 548
Ratio: 61%
mtime: 2008-01-03 12:03,000
Attributes: -rw-r--r--
CRC32: 6E7ABCFE
Host OS: Unix
Compression: RAR 3.0(v29) -m3 -md=128K
Name: COPYRIGHT
Type: File
Size: 183
Packed size: 161
Ratio: 87%
mtime: 2008-01-03 12:03,000
Attributes: -rw-r--r--
CRC32: 5CDC2E66
Host OS: Unix
Compression: RAR 3.0(v29) -m3 -md=128K