summaryrefslogtreecommitdiffstats
path: root/t/superuser--README-urpmi.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--README-urpmi.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--README-urpmi.t')
-rw-r--r--t/superuser--README-urpmi.t4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/superuser--README-urpmi.t b/t/superuser--README-urpmi.t
index 318e1f67..c72384a1 100644
--- a/t/superuser--README-urpmi.t
+++ b/t/superuser--README-urpmi.t
@@ -42,9 +42,7 @@ sub test_d {
sub test_urpmi {
my ($para, @wanted) = @_;
- my $urpmi = urpmi_cmd();
- print "# $urpmi $para\n";
- my $s = `$urpmi $para`;
+ my $s = run_urpm_cmd("urpmi $para");
print $s;
my @msgs = $s =~ /\nMore information on package[^\n]*\n(.*?)\n-{70}/msg;