Manual pages › General commands (1)
zlib-test(1)
check the installed zlib library on this machine
Package: zlib, added for amigaux.
NAME
zlib-test - check the installed zlib library on this machine
SYNOPSIS
/opt/amix/bin/zlib-test
DESCRIPTION
zlib-test is linked against the installed /opt/amix/lib/libz.a and checks, on this machine:
- 1.
- the crc32 and adler32 checksums of a fixed string against their known values, which catch a byte-order mistake;
- 2.
- a deflate and inflate round trip of four megabytes of mixed repeating and pseudo-random data, compared byte for byte;
- 3.
- inflating a stream another zlib produced.
It prints one line per check, with the version of zlib it is linked against, and a verdict.
EXIT STATUS
0 when every check passed, 1 otherwise.
SEE ALSO
| 2026-10-30 | zlib 1.2.13 |