File: IPC-Run3-ProfPP.t

package info (click to toggle)
libipc-run3-perl 0.036-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 152 kB
  • ctags: 82
  • sloc: perl: 1,016
file content (20 lines) | stat: -rw-r--r-- 298 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!perl -w

use Test;
use IPC::Run3::ProfPP;
use strict;

my $p = IPC::Run3::ProfPP->new;

my @tests = (
sub {
    $p->app_call( [ "parent_prog" ], 1.0 );
    $p->run_exit( [ "child_prog" ], 1.1, 1.2, 1.3, 1.4 );
    $p->app_exit( 1.5 );
    ok 1;
},
);

plan tests => 0+@tests;

$_->() for @tests;