add simple stresstest for MSC

This commit is contained in:
Stefan `Sec` Zehl 2011-12-23 18:31:03 +01:00
parent de2e722661
commit ff7042e4ba
1 changed files with 17 additions and 0 deletions

17
tools/tests/fs.stresstest Normal file
View File

@ -0,0 +1,17 @@
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