From f3f219527f69d581a1839e93b749c29545eb0119 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 16 Jan 2008 17:38:44 +0200 Subject: tests: move jittertest to tests directory Signed-off-by: Artem Bityutskiy --- tests/jittertest/filljffs2.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/jittertest/filljffs2.sh (limited to 'tests/jittertest/filljffs2.sh') diff --git a/tests/jittertest/filljffs2.sh b/tests/jittertest/filljffs2.sh new file mode 100644 index 0000000..10651f4 --- /dev/null +++ b/tests/jittertest/filljffs2.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Pass following cmd line: +# 1st - file to copy +# 2nd - file to copy to +# 3rd - time to sleep between copies + +while [ $(( 1 )) -gt $(( 0 )) ] +do + cp $1 $2 + rm $2 + df |grep mtd > /dev/console + echo "sleeping $3" + sleep $3 +done + -- cgit v1.2.3