diff options
Diffstat (limited to 't/travis.t')
-rwxr-xr-x | t/travis.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -77,7 +77,7 @@ LOCAL qr/nonexistentslackbuild added to upgrade queue.*Upgrade queue: nonexistentslackbuild/s, 'sboupgrade upgrades old version'); # 17-18: Test missing dep - my ($output, $ret) = capture_merged { system(qw/bash -c/, "$^X -I$lib $path/sboinstall nonexistentslackbuild2 <<END\ny\nEND\n") }; + my ($output, $ret) = capture_merged { system(qw/bash -c/, "$^X -I$lib $path/sboinstall nonexistentslackbuild2 <<END\ny\nEND\n") and $? >> 8; }; is ($ret, 1, "sboinstall nonexistentslackbuild2 has correct exit code"); is ($output, "Unable to locate nonexistentslackbuild3 in the SlackBuilds.org tree.\n", 'sboinstall nonexistentslackbuild2 has correct output'); |