aboutsummaryrefslogtreecommitdiff
path: root/t/09-multilib.t
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-03 00:04:46 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-03 00:04:46 +0200
commitc400ed58e4ce1a16bb5f092f38753db80874a0de (patch)
treeb33f545db7125b9a44efa05c1708ea7e3315d39d /t/09-multilib.t
parent406a651afd49e5e987915ef194e72b8b9a2771f0 (diff)
downloadsbotools-c400ed58e4ce1a16bb5f092f38753db80874a0de.tar.xz
09-multilib.t: add tests for multilibsbo with commands in readme
Diffstat (limited to 't/09-multilib.t')
-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 9bb91cb..3c8602d 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 => 9;
+ plan tests => 10;
} else {
plan skip_all => 'Only run these tests if TEST_INSTALL=1 and TEST_MULTILIB=2';
}
@@ -73,6 +73,9 @@ SKIP: {
# 9: multilibsbo while answering no
sboinstall qw/ -p multilibsbo /, { input => "n", expected => qr/Proceed with multilibsbo\?/ };
+# 10: multilibsbo with command in readme
+sboinstall qw/ -p multilibsbowithcommandinreadme /, { input => "y\ny\nn\nn\nn", expected => qr/It looks like.*Shall I run.*Proceed.*It looks like.*Shall I run.*Proceed.*Are you sure/s };
+
# Cleanup
END {
cleanup();