diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-31 13:03:27 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-31 22:52:46 +0100 |
commit | a45734855de8a67cd67afea31c7f28be2a0b0ac4 (patch) | |
tree | 8412cf3602f5c589bdbb2455ebab2fe144841348 /t/install.t | |
parent | 0ac3f4cccdaa429b8fdb718db798f09afdab0a0c (diff) | |
download | sbotools2-a45734855de8a67cd67afea31c7f28be2a0b0ac4.tar.xz |
Move failure tests to their own testing structure
Diffstat (limited to 't/install.t')
-rwxr-xr-x | t/install.t | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/t/install.t b/t/install.t index 33753e4..db1c87a 100755 --- a/t/install.t +++ b/t/install.t @@ -11,7 +11,7 @@ use lib "$RealBin/../SBO-Lib/lib"; use Test::Execute; if ($ENV{TEST_INSTALL}) { - plan tests => 9; + plan tests => 8; } else { plan skip_all => 'Only run these tests if TEST_INSTALL=1'; } @@ -95,9 +95,6 @@ script (qw/ sboremove nonexistentslackbuild5 /, { input => "y\ny", test => 0 }); script (qw/ sboinstall nonexistentslackbuild4 /, { input => "y\ny", expected => qr/nonexistentslackbuild5 added to install queue.*Install queue: nonexistentslackbuild5/s }); script (qw/ sboremove nonexistentslackbuild4 nonexistentslackbuild5 /, { input => "y\ny\ny", test => 0 }); -# 9: sboinstall failingslackbuild -script (qw/ sboinstall failingslackbuild /, { input => "y\ny", expected => qr/Failures:\n failingslackbuild: failingslackbuild.SlackBuild return non-zero\n\z/, exit => 3 }); - # Cleanup END { set_lo('delete'); |