From: Johannes Sixt Date: Fri, 08 May 2009 06:03:38 GMT Subject: Re: Tests in Cygwin Message-ID: <4A03CB3A.4090108@viscovery.net> In-Reply-To: <7viqkccvhb.fsf@alter.siamese.dyndns.org> Junio C Hamano schrieb: > Don Slutz writes: > >> test_have_prereq () { >> - save_IFS=$IFS >> - IFS=+ >> - set -- $* >> - IFS=$save_IFS >> - for prerequisite >> + for prerequisite in $(echo $*) > > Ah, that's clever. Well, it is an extra fork() that could easily be avoided by modifying the call site in test_skip. -- Hannes