echo foo | gzip | busybox gunzip > output
echo foo | cmp - output