diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-01-18 10:02:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-01-18 10:02:49 +0000 |
commit | a4532ab8579e711ae25961ce5e428dfa2cf19e83 (patch) | |
tree | 18a5d183aca9d1195d2bf3684ea9c6542576eb45 /t/helper.pm | |
parent | 5d4311c58758b18152facd047a87c04f2c8a960b (diff) | |
download | urpmi-a4532ab8579e711ae25961ce5e428dfa2cf19e83.tar urpmi-a4532ab8579e711ae25961ce5e428dfa2cf19e83.tar.gz urpmi-a4532ab8579e711ae25961ce5e428dfa2cf19e83.tar.bz2 urpmi-a4532ab8579e711ae25961ce5e428dfa2cf19e83.tar.xz urpmi-a4532ab8579e711ae25961ce5e428dfa2cf19e83.zip |
only display the cmd when debugging
Diffstat (limited to 't/helper.pm')
-rw-r--r-- | t/helper.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper.pm b/t/helper.pm index 56005df1..60f5de8d 100644 --- a/t/helper.pm +++ b/t/helper.pm @@ -56,7 +56,7 @@ sub urpm_cmd { sub run_urpm_cmd { my ($prog, $o_perl_para) = @_; my $cmd = urpm_cmd($prog, $o_perl_para); - warn "# $cmd\n"; + print "# $cmd\n"; `$cmd`; } sub urpmi_cmd() { urpm_cmd('urpmi') } |