crashtest-r0ket/tools/tests/fs.stresstest

18 lines
200 B
Plaintext
Raw Permalink Normal View History

2011-12-23 17:31:03 +00:00
dir=$1
if [ -z "$dir" ] ; then
echo Missing argument
exit 1
fi
cd $1
while : ; do
dd if=/dev/urandom count=130 of=random.file
sync
sleep 1
rm random.file
sync
sleep 1
echo "Done once."
done