From 444e449aaf670737099e92adc2e26cb8f3787ae7 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 9 Dec 2004 14:27:04 +0000 Subject: Silence warnings --- t/parse.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') 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'); -- cgit v1.2.1