aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-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');