From 424d49c945f5adea3425de2a1a8f173eb0ff82b5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 5 Feb 2013 14:31:05 +0000 Subject: (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 --- t/superuser--obsolete-and-conflict.t | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 't') 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'); } -- cgit v1.2.1