This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 0/N] test-suite improvement - PASS/FAIL: initial patch
- From: Richard Henderson <rth at twiddle dot net>
- To: Tomas Dohnalek <tdohnale at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 10 Sep 2012 09:44:56 -0700
- Subject: Re: [PATCH 0/N] test-suite improvement - PASS/FAIL: initial patch
- References: <691566170.5749012.1347294626628.JavaMail.root@redhat.com>
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~