source: MondoRescue/branches/3.0/mindi-busybox/archival/bbunzip_test2.sh@ 2899

Last change on this file since 2899 was 2725, checked in by Bruno Cornec, 13 years ago
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
  • 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.