Dmitry V. Levin wrote:
> > -trap 'rm -fr $tmpfiles' 1 2 3 15
> > +trap 'rm -fr $tmpfiles; exit 77' 1 2 3 15
> 
> According to "Limitations of Builtins" chapter in the autoconf
> manual, plain "exit 77" is not portable; it has to be written
> as "(exit 77); exit 77".

Plain "exit 77" is not portable ONLY if the shell script has a 'trap'
handler installed for condition 0.

Said unit tests don't have a trap handler for condition 0.

Bruno


Reply via email to