test: add an zlib binding addon test
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test/zlib
Description of change
Add a test addon that makes use of the zlib implementation bundled with node, checking that a compression/decompression round-trip works.
This is largely based on the already-existing OpenSSL addon.
Fixes: https://github.com/nodejs/node/issues/7535
Initial CI: https://ci.nodejs.org/job/node-test-commit/4488/