summaryrefslogtreecommitdiffstats
path: root/t/superuser--obsolete-and-conflict.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-05-09 16:24:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-05-09 16:24:59 +0000
commitd95f2d4240851529416ab1e2144f8068527d87b8 (patch)
treefaa0a9fded2d339a265145613ab494e0525aae6c /t/superuser--obsolete-and-conflict.t
parentac8a12fea21114240235dc29c9d483ed70e4af15 (diff)
downloadurpmi-d95f2d4240851529416ab1e2144f8068527d87b8.tar
urpmi-d95f2d4240851529416ab1e2144f8068527d87b8.tar.gz
urpmi-d95f2d4240851529416ab1e2144f8068527d87b8.tar.bz2
urpmi-d95f2d4240851529416ab1e2144f8068527d87b8.tar.xz
urpmi-d95f2d4240851529416ab1e2144f8068527d87b8.zip
- urpmi
o display "removing package ..." when removing an obsolete or conflicting package (need perl-URPM 1.63), and not before o in verbose mode, display "removing upgraded package ..." (should make it more understandable by users)
Diffstat (limited to 't/superuser--obsolete-and-conflict.t')
-rw-r--r--t/superuser--obsolete-and-conflict.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/superuser--obsolete-and-conflict.t b/t/superuser--obsolete-and-conflict.t
index 09e04f90..1494cd9a 100644
--- a/t/superuser--obsolete-and-conflict.t
+++ b/t/superuser--obsolete-and-conflict.t
@@ -11,6 +11,7 @@ use lib '.', 't';
use helper;
use Expect;
use urpm::util;
+use urpm::cfg;
use Test::More 'no_plan';
need_root_and_prepare();
@@ -21,10 +22,10 @@ urpmi_addmedia("$name $::pwd/media/$name");
urpmi('a');
check_installed_names('a');
-test_urpmi("b c", <<'EOF');
+test_urpmi("b c", sprintf(<<'EOF', urpm::cfg::get_arch()));
1/2: c
2/2: b
-removing package a
+removing package a-1-1.%s
EOF
check_installed_names('b', 'c');