From: Johannes Sixt Date: Fri, 26 Mar 2010 20:19:45 GMT Subject: Re: [PATCH] t0005: add test for trap handling from deeply nested function calls Message-ID: <201003262119.45110.j6t@kdbg.org> In-Reply-To: On Freitag, 26. März 2010, Brandon Casey wrote: > +test_expect_success 'trap triggered in deeply nested function works > correctly' ' + (atrap () { exit 0; } > + func3 () { exit 1; } > + func2 () { func3; } > + func1 () { trap atrap EXIT; func2; } > + func1) > +' What do you want to achieve with this test? That /usr/xpg4/bin/sh is not used on Solaris? If git-bisect triggers this bug in /usr/xpg4/bin/sh and if this is our shell of choice on Solaris, wouldn't it be better to work around it in git-bisect? -- Hannes