8 #++ $totalBad unless $ok ;
10 print "ok $no\n" if $ok ;
11 print "not ok $no\n" unless $ok ;
23 if (open(FH, ">$name")) {
31 ok(1, $file = IO::Zlib->new());
32 ok(2, $file->open($name, "rb"));
34 ok(4, $file->read($uncomp, 1024) == length($hello));
36 ok(6, $file->opened());
37 ok(7, $file->close());
38 ok(8, !$file->opened());
42 ok(9, $hello eq $uncomp);
44 ok(10, !defined(IO::Zlib->new($name, "rb")));