From 9eca2b973e99171862d18c8acf469a620e435924 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 9 Feb 2013 12:20:39 +0000 Subject: (install_logger) keep a separate counter for erasures only initialize $total_pkg: - when starting a new transaction - or on first erasure in transaction (_compute_pkg_total) kill it (no more needed) adjust testsuite accordingly --- t/superuser--obsolete-and-conflict.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 't/superuser--obsolete-and-conflict.t') diff --git a/t/superuser--obsolete-and-conflict.t b/t/superuser--obsolete-and-conflict.t index be3af8be..5284618d 100644 --- a/t/superuser--obsolete-and-conflict.t +++ b/t/superuser--obsolete-and-conflict.t @@ -31,10 +31,10 @@ sub test1 { my $arch = urpm::cfg::get_arch(); test_urpmi("b c", sprintf(<<'EOF', $arch, $arch)); - 1/3: c - 2/3: b + 1/2: c + 2/2: b removing package a-1-1.%s - 3/3: removing a-1-1.%s + 1/1: removing a-1-1.%s EOF check_installed_and_remove('b', 'c'); } -- cgit v1.2.1