From 406a651afd49e5e987915ef194e72b8b9a2771f0 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Tue, 3 May 2016 00:03:38 +0200 Subject: 09-multilib.t: test answering no to installing the base for a compat32 build --- t/09-multilib.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3