Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Results printing multiple times when testcase with fork using Test::more module

by thiagu_mvt (Sexton)
on May 20, 2009 at 13:52 UTC ( [id://765225]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [host1]$ cat test.pl
    use Test::More tests => 2;
    ...
    $a = "hi";
    ok ("hi" eq  $a);
    ok("1" eq &for());
    
  2. or download this
    [host1]$ perl test.pl
    1..2
    ...
    not ok 2
    #     Failed test (test.pl at line 14)
    # Looks like you failed 1 tests of 2.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://765225]
Approved by AnomalousMonk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found