summaryrefslogtreecommitdiff
path: root/scripts/randomtest.loop
diff options
context:
space:
mode:
authorDenis Vlasenko2008-09-28 17:19:02 +0000
committerDenis Vlasenko2008-09-28 17:19:02 +0000
commit27e1501cb290523d3b1879c0b8275baf1d7ab0ab (patch)
treec786c2a6cceaea9cff06c3b1b63a24efe26b7c40 /scripts/randomtest.loop
parent651d49a2ce5733672b676a02c5960b296cb4fb2d (diff)
downloadbusybox-27e1501cb290523d3b1879c0b8275baf1d7ab0ab.zip
busybox-27e1501cb290523d3b1879c0b8275baf1d7ab0ab.tar.gz
scripts/randomtest[.loop]: add scripts for randomconfig testing
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