Re: Use Exit, not exit, in test suite

2008-09-06 Thread Jim Meyering
Ralf Wildenhues <[EMAIL PROTECTED]> wrote: ... > Use `Exit' instead of `exit' in test suite. ... > +# We use a trap below for cleanup. This requires us to go through > +# hoops to get the right exit status transported through the signal. > +# So use `Exit STATUS' instead of `exit STATUS' insid

Use Exit, not exit, in test suite

2008-09-06 Thread Ralf Wildenhues
Since we added the exit trap in tests/defs.in (to clean up the per-test directories), we now have to cater to the exit status differences between shells. This is documented in the Autoconf manual, here's a quick recap: With trap 'e=$? ... exit $e' 0 ... $prev_command