diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2018-02-14 14:35:37 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2018-02-14 14:35:37 +0100 |
commit | 86f86f05995b8fb9dc56c4954417ad0bbe200794 (patch) | |
tree | 2e381ea0aabacfa646af3a840b97b792522a29c3 | |
parent | a090d49ae630cf95b923d8a4f979eff0b7a66cb8 (diff) | |
download | sbotools-86f86f05995b8fb9dc56c4954417ad0bbe200794.tar.xz |
t/: Fix up tests
-rwxr-xr-x | t/03-travis.t | 2 | ||||
-rwxr-xr-x | t/09-multilib.t | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/t/03-travis.t b/t/03-travis.t index 5733930..835a2d2 100755 --- 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 index 8dae403..22306c0 100755 --- 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 { |