summaryrefslogtreecommitdiffstats
path: root/t/superuser--obsolete-and-conflict.t
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-02-09 12:20:39 +0000
committerThierry Vignaud <tv@mageia.org>2013-02-09 12:20:39 +0000
commit9eca2b973e99171862d18c8acf469a620e435924 (patch)
treed0d0ed6c5cba2ae6fed7df7e58fa5cb8ff7106b5 /t/superuser--obsolete-and-conflict.t
parent2bc79300c87a438c07212112afc08fc5aa4fad89 (diff)
downloadurpmi-9eca2b973e99171862d18c8acf469a620e435924.tar
urpmi-9eca2b973e99171862d18c8acf469a620e435924.tar.gz
urpmi-9eca2b973e99171862d18c8acf469a620e435924.tar.bz2
urpmi-9eca2b973e99171862d18c8acf469a620e435924.tar.xz
urpmi-9eca2b973e99171862d18c8acf469a620e435924.zip
(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
Diffstat (limited to 't/superuser--obsolete-and-conflict.t')
-rw-r--r--t/superuser--obsolete-and-conflict.t6
1 files changed, 3 insertions, 3 deletions
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');
}