summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/superuser--README-urpmi.t2
-rw-r--r--t/superuser--should-restart.t4
2 files changed, 3 insertions, 3 deletions
diff --git a/t/superuser--README-urpmi.t b/t/superuser--README-urpmi.t
index c72384a1..91b4c9c9 100644
--- a/t/superuser--README-urpmi.t
+++ b/t/superuser--README-urpmi.t
@@ -44,7 +44,7 @@ sub test_urpmi {
my ($para, @wanted) = @_;
my $s = run_urpm_cmd("urpmi $para");
print $s;
- my @msgs = $s =~ /\nMore information on package[^\n]*\n(.*?)\n-{70}/msg;
+ my @msgs = $s =~ /\nMore information on package[^\n]*\n(.*?)\n\n-{70}/msg;
my $msg = join(" -- ", sort @msgs);
my $wanted = join(" -- ", sort @wanted);
diff --git a/t/superuser--should-restart.t b/t/superuser--should-restart.t
index a8729712..ba4b5adb 100644
--- a/t/superuser--should-restart.t
+++ b/t/superuser--should-restart.t
@@ -14,9 +14,9 @@ my $medium_name = 'should-restart';
urpmi_addmedia("$medium_name $::pwd/media/$medium_name");
-test_urpmi('a', 'You should restart system for a');
+test_urpmi('a', 'You should restart your computer for a');
test_urpmi('b', '');
-test_urpmi('c', 'You should restart system for a, c');
+test_urpmi('c', 'You should restart your computer for a, c');
sub test_urpmi {
my ($para, $wanted) = @_;