Add --show-program-output option to shell tests.

When used --show-program-output shows the output from the programs run
during testing.

Change-Id: I15a47c43d1fcf0243c8df1a75d0d2a584ae1f08f
This commit is contained in:
Tom Finegan
2014-04-30 11:03:15 -07:00
parent 6653769a02
commit 1d29ce53fe
5 changed files with 30 additions and 20 deletions

View File

@@ -36,7 +36,7 @@ decode_with_drops() {
[ -x "${decoder}" ] || return 1
"${decoder}" "${input_file}" "${output_file}" "${drop_mode}" > /dev/null 2>&1
eval "${decoder}" "${input_file}" "${output_file}" "${drop_mode}" ${devnull}
[ -e "${output_file}" ] || return 1
}