On 09/10/2012 09:30 AM, Tomas Dohnalek wrote:
> +if [ ${test_rc} -eq 0 ]; then
> + result="PASS"
> +else
> + result="FAIL"
> +fi
> +
> +echo "${result}: ${test_name}" >> ${output}
> +exit ${test_rc}
Surely this is running the test twice.
Surely you actually want to save $? after running the test once.
r~