1test_command=$1 2expected_output=$2 3test_log=$3 4$test_command > $test_log 2>&1 5diff $test_log $expected_output 6