]> gitweb.michael.orlitzky.com - hath.git/blobdiff - test/shell/manpage-regexed.test
Bulletproof the test suite and examples; version bump the cabal file.
[hath.git] / test / shell / manpage-regexed.test
index 9b09f11a7e0856d3df5427e6fafabbfe27274349..351e5c6d78ac06c7e38b1a2d730e5759301877d4 100644 (file)
@@ -1,5 +1,5 @@
 # Test the regexed example from the man page.
-dist/build/hath/hath <<< "10.0.0.0/29 10.0.0.8/29"
+echo "10.0.0.0/29 10.0.0.8/29" | dist/build/hath/hath
 >>>
-((10)\.(0)\.(0)\.(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15))
+((10)\.(0)\.(0)\.(15|14|13|12|11|10|9|8|7|6|5|4|3|2|1|0))
 >>>= 0