run_test.sh (110B)
1 test_command=$1 2 expected_output=$2 3 test_log=$3 4 $test_command > $test_log 2>&1 5 diff $test_log $expected_output