randomtest.loop 150 B

12345678910
  1. #!/bin/sh
  2. cnt=0
  3. fail=0
  4. while sleep 1; do
  5. echo "Passes: $cnt Failures: $fail"
  6. ./randomtest >/dev/null || exit #let fail++
  7. let cnt++
  8. done