]> gitweb.michael.orlitzky.com - hath.git/commitdiff
Rename shelltestrunner files and add two haskell runners which just run 'shelltest...
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 14 Oct 2013 02:10:04 +0000 (22:10 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 14 Oct 2013 02:10:04 +0000 (22:10 -0400)
test/ShellTests.hs [new file with mode: 0644]
test/ShellTestsNet.hs [new file with mode: 0644]
test/shell-net/manpage-reversed.test [moved from test/manpage-reversed.test with 100% similarity]
test/shell/manpage-diffed.test [moved from test/manpage-diffed.test with 100% similarity]
test/shell/manpage-duped.test [moved from test/manpage-duped.test with 100% similarity]
test/shell/manpage-listed.test [moved from test/manpage-listed.test with 100% similarity]
test/shell/manpage-reduced.test [moved from test/manpage-reduced.test with 100% similarity]
test/shell/manpage-regexed.test [moved from test/manpage-regexed.test with 100% similarity]

diff --git a/test/ShellTests.hs b/test/ShellTests.hs
new file mode 100644 (file)
index 0000000..65a10cc
--- /dev/null
@@ -0,0 +1,10 @@
+module Main
+where
+
+import System.Cmd ( system )
+import System.Exit ( exitWith )
+
+main :: IO ()
+main = do
+  result <- system "shelltest test/shell/*.test"
+  exitWith result
diff --git a/test/ShellTestsNet.hs b/test/ShellTestsNet.hs
new file mode 100644 (file)
index 0000000..b3306d0
--- /dev/null
@@ -0,0 +1,10 @@
+module Main
+where
+
+import System.Cmd ( system )
+import System.Exit ( exitWith )
+
+main :: IO ()
+main = do
+  result <- system "shelltest test/shell-net/*.test"
+  exitWith result