Extended MOTD with GUI
[tomato.git] / release / src / router / busybox / archival / bbunzip_test2.sh
blob5b7e83e132156bc166024662620ba95fb037ebe4
1 #!/bin/sh
2 # Leak test for gunzip. Watch top for growing process size.
4 # Just using urandom will make gzip use method 0 (store) -
5 # not good for test coverage!
7 cat /dev/urandom \
8 | while true; do read junk; echo "junk $RANDOM $junk"; done \
9 | ../busybox gzip \
10 | ../busybox gunzip -c >/dev/null