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