summaryrefslogtreecommitdiffstats
path: root/t/superuser--media_info_dir.t
diff options
context:
space:
mode:
Diffstat (limited to 't/superuser--media_info_dir.t')
-rw-r--r--t/superuser--media_info_dir.t4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/superuser--media_info_dir.t b/t/superuser--media_info_dir.t
index 599ffde1..7d07d011 100644
--- a/t/superuser--media_info_dir.t
+++ b/t/superuser--media_info_dir.t
@@ -74,9 +74,7 @@ sub rpm_v3 {
foreach my $src_rpm (glob('media/rpm-v3/*.rpm')) {
my ($wanted_arch) = $src_rpm =~ /(\w+)\.rpm$/;
- my $cmd = urpm_cmd('urpmq') . " -f $src_rpm";
- warn "# $cmd\n";
- chomp(my $fullname = `$cmd`);
+ chomp(my $fullname = run_urpm_cmd("urpmq -f $src_rpm"));
my ($arch) = $fullname =~ /(\w+)$/;
if (rpm_is_jbj_version()) {