summaryrefslogtreecommitdiff
path: root/cpan/IPC-Cmd
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-10-19 16:05:35 +0100
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-10-19 16:05:35 +0100
commit6d1e0911864d555c9a4092b6f03614010f4243c7 (patch)
treeabe3f3de4025d9acf74fd0b3d506d099b22b66d9 /cpan/IPC-Cmd
parent98eca5fabe72a76b2530c567877e77e0eb7da6ad (diff)
downloadperl-6d1e0911864d555c9a4092b6f03614010f4243c7.tar.gz
Fix IPC-Cmd tests for Solaris (and potentially other SVR* variants)
Diffstat (limited to 'cpan/IPC-Cmd')
-rw-r--r--cpan/IPC-Cmd/lib/IPC/Cmd.pm2
-rw-r--r--cpan/IPC-Cmd/t/03_run-forked.t4
2 files changed, 3 insertions, 3 deletions
diff --git a/cpan/IPC-Cmd/lib/IPC/Cmd.pm b/cpan/IPC-Cmd/lib/IPC/Cmd.pm
index 4a9dc9b8bf..10b4ace9a0 100644
--- a/cpan/IPC-Cmd/lib/IPC/Cmd.pm
+++ b/cpan/IPC-Cmd/lib/IPC/Cmd.pm
@@ -17,7 +17,7 @@ BEGIN {
$INSTANCES $ALLOW_NULL_ARGS
];
- $VERSION = '0.84';
+ $VERSION = '0.84_01';
$VERBOSE = 0;
$DEBUG = 0;
$WARN = 1;
diff --git a/cpan/IPC-Cmd/t/03_run-forked.t b/cpan/IPC-Cmd/t/03_run-forked.t
index 8e9051fb6c..eedbad84e3 100644
--- a/cpan/IPC-Cmd/t/03_run-forked.t
+++ b/cpan/IPC-Cmd/t/03_run-forked.t
@@ -31,9 +31,9 @@ unless ( $true and $false and $echo and $sleep ) {
my $r;
$r = run_forked($true);
-ok($r->{'exit_code'} eq 0, "$true returns 0");
+ok($r->{'exit_code'} eq '0', "$true returns 0");
$r = run_forked($false);
-ok($r->{'exit_code'} eq 1, "$false returns 1");
+ok($r->{'exit_code'} ne '0', "$false returns 1");
$r = run_forked([$echo, "test"]);
ok($r->{'stdout'} =~ /test/, "arrayref cmd: https://rt.cpan.org/Ticket/Display.html?id=70530");