summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
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');
}