view README.txt @ 6:6496dae95f0d default tip

add a few more variables to track; we will want to output them
author Jeff Hammel <k0scist@gmail.com>
date Wed, 24 Aug 2016 17:05:10 -0700
parents d1880117acb5
children
line wrap: on
line source

fail
====

run a program until it fails and gather statistics

Elaborations from a favorite bash one-liner::

    I=0; while ./do_some_things.py --param $arg; do I=$((I+1)); echo Iteration ${I}; sleep 1; done


fun things to try
-----------------

Russian roulette (with two chambers)::

    fail 'exit $(expr $RANDOM % 2)'

----

Jeff Hammel

http://k0s.org/