]> gitweb.michael.orlitzky.com - hath.git/commit
Bulletproof the test suite and examples; version bump the cabal file. 0.2.3
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 22 Feb 2015 03:28:33 +0000 (22:28 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 22 Feb 2015 03:28:33 +0000 (22:28 -0500)
commit2744428b39c7f253d6629335b9cb4122e224e177
tree49eef9b981632b702971a9033e379559d97bdeea
parent02a793ab4325e5d04eb3ae3450aa33d01b4b4d1c
Bulletproof the test suite and examples; version bump the cabal file.

The examples in the man page used the "<<<" syntax which is specific
to bash. Now "echo 'foo' | hath ..." is used, and that should work in
any shell. The shelltest suite was updated to use the same.

The two ShellTests(Net) modules were also updated to run the
shelltests with an empty environment. This allowed the --color=never
argument to be removed from the tests themselves, since $GREP_OPTIONS
can't be populated.
12 files changed:
doc/man1/hath.1
hath.cabal
test/ShellTests.hs
test/ShellTestsNet.hs
test/shell-net/manpage-reversed.test
test/shell/manpage-barriers.test
test/shell/manpage-diffed.test
test/shell/manpage-duped.test
test/shell/manpage-listed.test
test/shell/manpage-reduced.test
test/shell/manpage-regexed.test
test/shell/match-class-c.test