summaryrefslogtreecommitdiffstats
path: root/t/superuser--split-transactions--promote.t
diff options
context:
space:
mode:
Diffstat (limited to 't/superuser--split-transactions--promote.t')
-rw-r--r--t/superuser--split-transactions--promote.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/superuser--split-transactions--promote.t b/t/superuser--split-transactions--promote.t
index cf8394f8..69b8e208 100644
--- a/t/superuser--split-transactions--promote.t
+++ b/t/superuser--split-transactions--promote.t
@@ -116,7 +116,6 @@ sub test_conflict_gh {
sub run_urpmi_and_get_conflicts {
my ($para) = @_;
- my $cmd = urpmi_cmd() . " $para";
- my $output = `$cmd`;
+ my $output = run_urpm_cmd("urpmi $para");
$output =~ /\(due to conflicts with (.*)\)/g;
}