blob: 996cae539e727ab394367cad680e38e3464182e2 [file] [log] [blame]
# Check that the stdout of the executed program matches a reference file.
program=${1}
expected_file=${2}
${program} 2>stderr.log >stdout.log
cmp stdout.log "${expected_file}"