aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2017-11-07 17:31:18 +0100
committerJohn Högberg <[email protected]>2017-11-09 08:23:20 +0100
commite96969083dbfebfaaa600d2ba6c2cf6d5a690cbe (patch)
tree6fd54f81f11f9335eb69026d3b3e8632ce17fb73
parent8cfe9496873fa36eccda939e56bf7a922e945ca9 (diff)
downloadotp-e96969083dbfebfaaa600d2ba6c2cf6d5a690cbe.tar.gz
otp-e96969083dbfebfaaa600d2ba6c2cf6d5a690cbe.tar.bz2
otp-e96969083dbfebfaaa600d2ba6c2cf6d5a690cbe.zip
Avoid WindowBits=8 as per the manual
The docs for zlib:deflateInit/6 explicitly mention that 8 is broken and should not be used unless we know for certain that our zlib version supports it.
-rw-r--r--lib/kernel/test/zlib_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/zlib_SUITE.erl b/lib/kernel/test/zlib_SUITE.erl
index 6f40c74ee8..6d4e21b8cf 100644
--- a/lib/kernel/test/zlib_SUITE.erl
+++ b/lib/kernel/test/zlib_SUITE.erl
@@ -166,7 +166,7 @@ api_deflateInit(Config) when is_list(Config) ->
?m(ok, zlib:deflateInit(Z12,default,deflated,-Wbits,8,default)),
?m(ok,zlib:close(Z11)),
?m(ok,zlib:close(Z12))
- end, lists:seq(8, 15)),
+ end, lists:seq(9, 15)),
lists:foreach(fun(MemLevel) ->
Z = zlib:open(),