summaryrefslogtreecommitdiff
path: root/test/run_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_test.sh')
-rwxr-xr-xtest/run_test.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/run_test.sh b/test/run_test.sh
new file mode 100755
index 0000000..42795a7
--- /dev/null
+++ b/test/run_test.sh
@@ -0,0 +1,4 @@
+test_command=$1
+expected_output=$2
+$test_command > test_log 2>&1
+diff test_log $expected_output