aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-12-09 14:27:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-12-09 14:27:04 +0000
commit444e449aaf670737099e92adc2e26cb8f3787ae7 (patch)
tree82bcc0a7c17bbe74a2c9f22532652ee545779540
parent98c62964f95735281e1617c9506c92fca78a706d (diff)
downloadperl-URPM-444e449aaf670737099e92adc2e26cb8f3787ae7.tar
perl-URPM-444e449aaf670737099e92adc2e26cb8f3787ae7.tar.gz
perl-URPM-444e449aaf670737099e92adc2e26cb8f3787ae7.tar.bz2
perl-URPM-444e449aaf670737099e92adc2e26cb8f3787ae7.tar.xz
perl-URPM-444e449aaf670737099e92adc2e26cb8f3787ae7.zip
Silence warnings
-rw-r--r--t/parse.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/parse.t b/t/parse.t
index dca52e3..0b9618a 100644
--- a/t/parse.t
+++ b/t/parse.t
@@ -53,7 +53,7 @@ ok(URPM::rpmvercmp("1:1-1mdk", "2:1-1mdk") == -1, "epoch 1 vs 2 = -1");
{
- open(my $hdfh, "zcat hdlist.cz |") or die $!;
+ open(my $hdfh, "zcat hdlist.cz 2>/dev/null |") or die $!;
my $pkg = URPM::stream2header($hdfh);
ok(defined $pkg, "Reading a header works");
ok($pkg->get_tag(1000) eq 'test-rpm');