Magellan Linux

Contents of /trunk/mkinitrd-magellan/busybox/archival/bbunzip_test2.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 816 - (show annotations) (download) (as text)
Fri Apr 24 18:33:46 2009 UTC (15 years ago) by niro
File MIME type: application/x-sh
File size: 296 byte(s)
-updated to busybox-1.13.4
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
7 cat /dev/urandom \
8 | while true; do read junk; echo "junk $RANDOM $junk"; done \
9 | ../busybox gzip \
10 | ../busybox gunzip -c >/dev/null

Properties

Name Value
svn:keywords Id