summaryrefslogtreecommitdiff
path: root/scripts/randomtest.loop
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/randomtest.loop')
-rwxr-xr-xscripts/randomtest.loop10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/randomtest.loop b/scripts/randomtest.loop
new file mode 100755
index 0000000..28edb67
--- /dev/null
+++ b/scripts/randomtest.loop
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+cnt=0
+fail=0
+
+while sleep 1; do
+ echo "Passes: $cnt Failures: $fail"
+ ./randomtest >/dev/null || exit #let fail++
+ let cnt++
+done