NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/38736 (/bin/sh: several problems with 'set -e')

On Mon, May 26, 2008 at 10:51:33PM +0300, Aleksey Cheusov wrote:
 > >
 > No. You read this spec incorrectly. Reread it.

Can you look at src/tests/util/sh/ and submit any needed
corrections (or additions) in one or more new PRs?

If we do this all with respect to the specific behavior of specific
examples (creating more when necessary) there might be some chance of
getting all the details right. Otherwise, there are too many
exceptions and combinations and confounding factors.

(To run the thing, "compile" it, then cd obj && ./t_set_e. Note that
you can also do env TEST_SH=ksh ./t_set_e to see what ksh does, or
similarly for other shells.)

David A. Holland

Home | Main Index | Thread Index | Old Index