From: Jeff King Date: Sat, 04 Feb 2012 06:27:12 GMT Subject: Re: [PATCH] t0300-credentials: Word around a solaris /bin/sh bug Message-ID: <20120204062712.GA20076@sigill.intra.peff.net> In-Reply-To: <7vipjnmt8a.fsf@alter.siamese.dyndns.org> On Fri, Feb 03, 2012 at 02:45:25PM -0800, Junio C Hamano wrote: > > Nice. I was going to suggest a wrapper like "write_sh_script" so you > > didn't have to spell out $SHELL_PATH, but I think the auto-detection > > makes sense (and falling back to shell makes even more sense, as that > > covers 99% of the cases anyway). > > Let's not over-engineer this and stick to the simple-stupid-sufficient. > > Something like this? Here it is as patches with commit messages. I don't think it's worth doing a mechanical conversion of the whole test suite to write_script. [1/2]: tests: add write_script helper function [2/2]: t0300: use write_script helper -Peff