From ff7042e4ba26dac01e8bdf3ccf06bd9dd6b75b8e Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Fri, 23 Dec 2011 18:31:03 +0100 Subject: [PATCH] add simple stresstest for MSC --- tools/tests/fs.stresstest | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tools/tests/fs.stresstest diff --git a/tools/tests/fs.stresstest b/tools/tests/fs.stresstest new file mode 100644 index 0000000..3307811 --- /dev/null +++ b/tools/tests/fs.stresstest @@ -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