Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

zlib-test(1)

check the installed zlib library on this machine

Package: zlib, added for amigaux.

zlib-test - check the installed zlib library on this machine

/opt/amix/bin/zlib-test

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.

0 when every check passed, 1 otherwise.

zlib(3)

2026-10-30 zlib 1.2.13