summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-02-05 14:31:05 +0000
committerThierry Vignaud <tv@mageia.org>2013-02-05 14:31:05 +0000
commit424d49c945f5adea3425de2a1a8f173eb0ff82b5 (patch)
tree48b914c94bfceb01795cddeb0ef016886eb7a004 /t
parentb00f4c5b263ca9e473b8bc4df06d5c44066cc0ad (diff)
downloadurpmi-424d49c945f5adea3425de2a1a8f173eb0ff82b5.tar
urpmi-424d49c945f5adea3425de2a1a8f173eb0ff82b5.tar.gz
urpmi-424d49c945f5adea3425de2a1a8f173eb0ff82b5.tar.bz2
urpmi-424d49c945f5adea3425de2a1a8f173eb0ff82b5.tar.xz
urpmi-424d49c945f5adea3425de2a1a8f173eb0ff82b5.zip
(install_logger) unify with callback_uninst(), thus fixing counting for
erasures (callback_uninst) restore quiet behavior when not in verbose mode (install) temporary set $urpm->{trans} adapt testsuite
Diffstat (limited to 't')
-rw-r--r--t/superuser--obsolete-and-conflict.t9
1 files changed, 5 insertions, 4 deletions
diff --git a/t/superuser--obsolete-and-conflict.t b/t/superuser--obsolete-and-conflict.t
index 08a968db..be3af8be 100644
--- a/t/superuser--obsolete-and-conflict.t
+++ b/t/superuser--obsolete-and-conflict.t
@@ -29,11 +29,12 @@ sub test1 {
urpmi('a');
check_installed_names('a');
- test_urpmi("b c", sprintf(<<'EOF', urpm::cfg::get_arch()));
- 1/2: c
- 2/2: b
+ my $arch = urpm::cfg::get_arch();
+ test_urpmi("b c", sprintf(<<'EOF', $arch, $arch));
+ 1/3: c
+ 2/3: b
removing package a-1-1.%s
- 1/1: a
+ 3/3: removing a-1-1.%s
EOF
check_installed_and_remove('b', 'c');
}