comparison README.txt @ 0:02d077c5627a

initial program
author Jeff Hammel <k0scist@gmail.com>
date Mon, 29 Feb 2016 13:48:39 -0800
parents
children d1880117acb5
comparison
equal deleted inserted replaced
-1:000000000000 0:02d077c5627a
1 fail
2 ====
3
4 run a program until it fails and gather statistics
5
6 Elaborations from a favorite bash one-liner::
7
8 I=0; while ./do_some_things.py --param $arg; do I=$((I+1)); echo Iteration ${I}; sleep 1; done
9
10 fun things to try
11 ----------------
12
13 Russian roulette (with two chambers)::
14
15 fail 'exit $(expr $RANDOM % 2)'
16
17 ----
18
19 Jeff Hammel
20
21
22