summaryrefslogtreecommitdiffstats
path: root/t/superuser--split-transactions--promote.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-18 10:07:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-18 10:07:11 +0000
commit1552f8682706dd1b9b95365b64d663bb38589ef5 (patch)
tree2c347eca02c10cd9ef4dfda5ddcc63865d49f08f /t/superuser--split-transactions--promote.t
parent14483fcf80d1f2977753b7d5012ee48a602c7833 (diff)
downloadurpmi-1552f8682706dd1b9b95365b64d663bb38589ef5.tar
urpmi-1552f8682706dd1b9b95365b64d663bb38589ef5.tar.gz
urpmi-1552f8682706dd1b9b95365b64d663bb38589ef5.tar.bz2
urpmi-1552f8682706dd1b9b95365b64d663bb38589ef5.tar.xz
urpmi-1552f8682706dd1b9b95365b64d663bb38589ef5.zip
cleanup using run_urpm_cmd
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;
}