http://bugs.gnu.org/16951
This appears to be a duplicate of Bug#16951, which should mean that your
test should work in the next gzip release but some related bugs remain.
Please see:
- bug#18427: Fwd: 'less' bug report J B
- bug#18427: Fwd: 'less' bug report Paul Eggert