summaryrefslogtreecommitdiffstats
path: root/t/superuser--obsolete-and-conflict.t
diff options
context:
space:
mode:
Diffstat (limited to 't/superuser--obsolete-and-conflict.t')
-rw-r--r--t/superuser--obsolete-and-conflict.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/superuser--obsolete-and-conflict.t b/t/superuser--obsolete-and-conflict.t
index 80fea2a5..545ede1e 100644
--- a/t/superuser--obsolete-and-conflict.t
+++ b/t/superuser--obsolete-and-conflict.t
@@ -47,8 +47,7 @@ sub test_with_ad {
sub test_urpmi {
my ($para, $wanted) = @_;
- my $urpmi = urpmi_cmd();
- my $s = `$urpmi $para`;
+ my $s = run_urpm_cmd("urpmi $para");
$s =~ s/\s*#{40}#*//g;
$s =~ s/.*\nPreparing\.\.\.\n//s;