History log of /openbsd-current/regress/usr.bin/gzip/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.3 11-Nov-2023 gkoehler

Ignore -N in "gzip -dN <in.gz" and "zcat -N in.gz"

Have -c override -N, like other gzip implementations. Before, our -N
(decompress to stored name) overrode -c (cat to stdout) and crashed
with a pledge violation, because the pledge for -c excludes wpath.

Guilherme Janczak reported the pledge violation in July 2022 and
provided a diff to prevent it, along with a regress test. I rewrote
the diff and expanded the regress.

ok kn@ millert@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.2 22-Jun-2017 bluhm

Convert shell script tests to regress make rules. Having only one
tool and more verbosity allows better debugging. Additional tests
check that gzip and gunzip preserve file permissions and ownership.


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.1 20-Aug-2008 mpf

Regression tests for gzip(1):
- Test if we detect truncated or corrupted files.
- Test basic functionality
OK millert@, markus@


Revision tags: OPENBSD_6_2_BASE
# 1.2 22-Jun-2017 bluhm

Convert shell script tests to regress make rules. Having only one
tool and more verbosity allows better debugging. Additional tests
check that gzip and gunzip preserve file permissions and ownership.


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.1 20-Aug-2008 mpf

Regression tests for gzip(1):
- Test if we detect truncated or corrupted files.
- Test basic functionality
OK millert@, markus@