sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 86f86f05995b8fb9dc56c4954417ad0bbe200794
parent a090d49ae630cf95b923d8a4f979eff0b7a66cb8
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Wed, 14 Feb 2018 14:35:37 +0100

t/: Fix up tests

Diffstat:
Mt/03-travis.t | 2+-
Mt/09-multilib.t | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/03-travis.t b/t/03-travis.t @@ -73,7 +73,7 @@ Path: $RealBin/LO/nonexistentslackbuild8! } }; sboinstall qw/ -r nonexistentslackbuild /, - { expected => qr/nonexistentslackbuild added to install queue[.].*perf[.]dummy' saved.*Cleaning for nonexistentslackbuild-1[.]0/s }; + { expected => qr/nonexistentslackbuild added to install queue[.].*perf[.]dummy. saved.*Cleaning for nonexistentslackbuild-1[.]0/s }; sboremove qw/ --nointeractive nonexistentslackbuild /, { expected => qr/Removing 1 package\(s\).*nonexistentslackbuild.*All operations have completed/s }; is (system(qw!/sbin/installpkg nonexistentslackbuild-0.9-noarch-1_SBo.tgz!), 0, 'Old version fake installed'); sbocheck { expected => qr/Updating SlackBuilds tree.*Checking for updated SlackBuilds.*nonexistentslackbuild 0[.]9.*needs updating/s }; diff --git a/t/09-multilib.t b/t/09-multilib.t @@ -79,7 +79,7 @@ sboinstall qw/ -p multilibsbowithcommandinreadme /, { input => "y\ny\nn\nn\nn", # 11: sboremove multilibsbo sboinstall qw/ -p multilibsbo /, { input => "y\ny\ny", test => 0 }; -sboremove qw/ multilibsbo /, { input => "y\ny\ny", expected => qr/Remove multilibsbo\b.*Removing 1 package\(s\)/s, note => 1 }; +sboremove qw/ multilibsbo /, { input => "y\ny\ny", expected => qr/Remove multilibsbo\b.*Removing 1 package\(s\)/s }; # Cleanup END {