Ticket #667 (closed bug: fixed)

Opened 13 years ago

Last modified 13 years ago

t/examples/namespace.t fails @38789

Reported by: coke Owned by:
Priority: normal Milestone: 1.2
Component: none Version: 1.1.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

$ prove -v t/examples/namespace.t
[11:45:08] t/examples/namespace.t ..
1..1
not ok 1 - examples/namespace/namespace_dump.pir

#   Failed test 'examples/namespace/namespace_dump.pir'
#   at t/examples/namespace.t line 46.
# Exited with error code: [SIGNAL 10]
# Received:
# parrot => parrot
#     Undef => Undef
#         is_equal =>  Multi [
#
# Expected:
# /^parrot.*
# ^MULTI\s=>\sMULTI/sm
#
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
[11:45:09]

Test Summary Report
-------------------
t/examples/namespace.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=1, Tests=1,  1 wallclock secs ( 0.03 usr  0.01 sys +  0.06 cusr  0.02 csys =  0.12 CPU)
Result: FAIL

Attachments

namespace_dump.patch Download (484 bytes) - added by NotFound 13 years ago.

Change History

Changed 13 years ago by NotFound

Segfault fixed in r38891, but test still fails, now just die in a more polite way.

Changed 13 years ago by coke

Be really nice if we could have examples testing clean for the 1.2 release...

Changed 13 years ago by NotFound

Changed 13 years ago by NotFound

The attached patch makes namespace_dump pass the test. However it shows all multi empty, I don't know if this is an example of what to do or what to avoid.

Changed 13 years ago by NotFound

  • status changed from new to closed
  • resolution set to fixed

Someone has applied a beautified version of the last patch. The test now pass. Closing ticket.

Note: See TracTickets for help on using tickets.