document urchin -sh

This commit is contained in:
Thomas Levine 2014-11-05 17:26:01 +00:00
parent 1f115df222
commit f8d921b5e5
1 changed files with 8 additions and 0 deletions

View File

@ -138,6 +138,14 @@ To test with multiple shells in sequence, use something like:
urchin -s $shell ./tests
done
#### (c) Cross shell tests with `urchin -sh` (experimental)
If you run urchin with the `-sh` flag, it will be as if you ran
`$TEST_SHELL`. Unless `$TEST_SHELL` isn't set, in which case it'll
be as if you ran `/bin/sh`. Putting this in she shebang line might
eventually work out to be a cleaner way of doing cross-shell testing.
#!/usr/bin/env urchin -sh
test a = a
## Alternatives to Urchin
Alternatives to Urchin are discussed in