source: MondoRescue/branches/2.2.9/mindi-busybox/archival/bbunzip_test2.sh@ 3320

Last change on this file since 3320 was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 296 bytes
Line 
1#!/bin/sh
2# Leak test for gunzip. Watch top for growing process size.
3
4# Just using urandom will make gzip use method 0 (store) -
5# not good for test coverage!
6
7cat /dev/urandom \
8| while true; do read junk; echo "junk $RANDOM $junk"; done \
9| ../busybox gzip \
10| ../busybox gunzip -c >/dev/null
Note: See TracBrowser for help on using the repository browser.