aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-03 00:03:38 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-03 00:03:38 +0200
commit406a651afd49e5e987915ef194e72b8b9a2771f0 (patch)
tree063fef4f990d1fbeec38aba5e1f435c96901a3ce
parent7eb48dc335a4e0a1b4067ee6944d2263ba37e958 (diff)
downloadsbotools2-406a651afd49e5e987915ef194e72b8b9a2771f0.tar.xz
09-multilib.t: test answering no to installing the base for a compat32 build
-rwxr-xr-xt/09-multilib.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/09-multilib.t b/t/09-multilib.t
index 128cf3b..9bb91cb 100755
--- a/t/09-multilib.t
+++ b/t/09-multilib.t
@@ -12,7 +12,7 @@ use File::Temp 'tempdir';
$ENV{TEST_MULTILIB} //= 0;
if ($ENV{TEST_INSTALL} and ($ENV{TEST_MULTILIB} == 2)) {
- plan tests => 8;
+ plan tests => 9;
} else {
plan skip_all => 'Only run these tests if TEST_INSTALL=1 and TEST_MULTILIB=2';
}
@@ -70,6 +70,9 @@ SKIP: {
capture_merged { system(qw!/sbin/removepkg multilibsbo multilibsbo-compat32!); };
}
+# 9: multilibsbo while answering no
+sboinstall qw/ -p multilibsbo /, { input => "n", expected => qr/Proceed with multilibsbo\?/ };
+
# Cleanup
END {
cleanup();