aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-07-23 14:47:52 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-07-23 14:47:52 +0300
commit1718b7e87b3ce2d588f2412ac41bea6e7048709f (patch)
tree07e1ff5864cd8b323f7720e02c8988e4b7366462 /t
parent6ffdc2c388a93365c4ec0ee5cb37296b120b2e3c (diff)
downloadposixruncapture-1718b7e87b3ce2d588f2412ac41bea6e7048709f.tar.gz
posixruncapture-1718b7e87b3ce2d588f2412ac41bea6e7048709f.tar.bz2
Change return value of capture_run to conform to Perl convention
* capture.c (capture_run): Return true on success. * t/TestCapture.pm: Expect true on success
Diffstat (limited to 't')
-rw-r--r--t/TestCapture.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/TestCapture.pm b/t/TestCapture.pm
index c7f31e3..8e8bf95 100644
--- a/t/TestCapture.pm
+++ b/t/TestCapture.pm
@@ -52,7 +52,7 @@ sub test_stream {
sub TestCapture {
my ($argv, %kw) = @_;
- $kw{result} = 0 unless exists $kw{result};
+ $kw{result} = 1 unless exists $kw{result};
$kw{code} = 0 unless exists $kw{code};
my $cap;

Return to:

Send suggestions and report system problems to the System administrator.