1*4684ddb6SLionel Sambuctest_command=$1 2*4684ddb6SLionel Sambucexpected_output=$2 3*4684ddb6SLionel Sambuctest_log=$3 4*4684ddb6SLionel Sambuc$test_command > $test_log 2>&1 5*4684ddb6SLionel Sambucdiff $test_log $expected_output 6