Skip to content
This repository was archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
malva: Add 'run-until-fail' script
Browse files Browse the repository at this point in the history
This script is useful for finding reliability problems in tests. You can use it
like this:

  ./scripts/run-until-fail make check

and let the tests run overnight, for example, to see if any of them fail at
random times.

Signed-off-by: Pekka Enberg <[email protected]>
  • Loading branch information
penberg committed Oct 27, 2010
1 parent d762dd5 commit 23399c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/run-until-fail
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

while [ true ]; do
$* || { echo "FAILURE"; exit 0; }
done

0 comments on commit 23399c2

Please sign in to comment.