Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/regress/usr.bin/gzip/concatenated Add a regression test for ...
details: https://anonhg.NetBSD.org/src/rev/517da83f243f
branches: trunk
changeset: 573146:517da83f243f
user: erh <erh%NetBSD.org@localhost>
date: Thu Jan 20 20:40:00 2005 +0000
description:
Add a regression test for contatenated gzipped 0-length data.
diffstat:
regress/usr.bin/gzip/concatenated/Makefile | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 208000a4f23c -r 517da83f243f regress/usr.bin/gzip/concatenated/Makefile
--- a/regress/usr.bin/gzip/concatenated/Makefile Thu Jan 20 19:14:08 2005 +0000
+++ b/regress/usr.bin/gzip/concatenated/Makefile Thu Jan 20 20:40:00 2005 +0000
@@ -1,14 +1,17 @@
-# $NetBSD: Makefile,v 1.1 2004/07/10 19:32:06 yamt Exp $
+# $NetBSD: Makefile,v 1.2 2005/01/20 20:40:00 erh Exp $
NOMAN= # defined
.include <bsd.own.mk>
-CLEANFILES= ab1 ab2
+CLEANFILES= ab1 ab2 bc1 bc2
regress:
@echo -n aaaabbbb > ab1
@(echo -n aaaa | ${GZIP} ; echo -n bbbb | ${GZIP}) | ${GZIP} -d > ab2
@cmp ab1 ab2
+ @echo -n bbbb > bc1
+ @(true | ${GZIP} ; cat bc1 | ${GZIP}) | ${GZIP} -d > bc2
+ @cmp bc1 bc2
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index