From 4ac02fbe711fc3ec9ac2a29767af02ae852b2703 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Thu, 31 Dec 2015 22:11:34 +0100 Subject: Fix test for multilib convertpkg fail --- t/fail.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/fail.t b/t/fail.t index 36de94c..0f07399 100755 --- a/t/fail.t +++ b/t/fail.t @@ -163,10 +163,11 @@ SKIP: { # 16: Multilib fails - convertpkg fail SKIP: { skip "Multilib convertpkg fail test only valid if TEST_MULTILIB=2", 1 unless $ENV{TEST_MULTILIB} == 2; + skip "This test is designed to be run in the Travis CI environment", 1 unless $ENV{TRAVIS}; skip "No /etc/profile.d/32dev.sh", 1 unless -e "/etc/profile.d/32dev.sh"; skip "No /usr/sbin/convertpkg-compat32", 1 unless -e "/usr/sbin/convertpkg-compat32"; - script (qw/ sboinstall -p multilibfail /, { input => "y\ny\ny", expected => qr//, exit => 9 }); + script (qw/ sboinstall -p multilibfail /, { input => "y\ny\ny", expected => qr/Failures:\n multilibfail-compat32: convertpkg-compt32 returned non-zero exit status\n/, exit => 10 }); } # Cleanup -- cgit v1.2.3