How to test a shell script

An example shell test is included in the GINT test suite - see shellTest.