diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-28 17:19:02 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-28 17:19:02 +0000 |
commit | 27e1501cb290523d3b1879c0b8275baf1d7ab0ab (patch) | |
tree | c786c2a6cceaea9cff06c3b1b63a24efe26b7c40 /scripts/randomtest.loop | |
parent | 651d49a2ce5733672b676a02c5960b296cb4fb2d (diff) | |
download | busybox-w32-27e1501cb290523d3b1879c0b8275baf1d7ab0ab.tar.gz busybox-w32-27e1501cb290523d3b1879c0b8275baf1d7ab0ab.tar.bz2 busybox-w32-27e1501cb290523d3b1879c0b8275baf1d7ab0ab.zip |
scripts/randomtest[.loop]: add scripts for randomconfig testing
Diffstat (limited to 'scripts/randomtest.loop')
-rwxr-xr-x | scripts/randomtest.loop | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/randomtest.loop b/scripts/randomtest.loop new file mode 100755 index 000000000..28edb6732 --- /dev/null +++ b/scripts/randomtest.loop | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | cnt=0 | ||
4 | fail=0 | ||
5 | |||
6 | while sleep 1; do | ||
7 | echo "Passes: $cnt Failures: $fail" | ||
8 | ./randomtest >/dev/null || exit #let fail++ | ||
9 | let cnt++ | ||
10 | done | ||