From: Johannes Schindelin Date: Mon, 07 Jul 2008 14:41:41 GMT Subject: Re: [HACK] t/test-lib.sh HACK: Add -s/--show-hack to test suite. Message-ID: In-Reply-To: <20080707140841.GB6726@leksak.fem-net> Hi, On Mon, 7 Jul 2008, Stephan Beyer wrote: > > > This option realizes a stupid hack that tries to run the test cases > > > line by line (separated by &&). > > > > In what way is that better than "sh -x t????-*.sh"? > > Your suggestion is more like "./t????-*.sh -v" instead of -s, at least > on bash and dash here. No, I meant without "-v". > But I didn't know the -x flag and it seems that this could be used in > test-lib.sh to make the hack faster, more robust and less hacky ;-) It would obsolete your hack, I suggest. Obviously, you haven't tried it yet. Hth, Dscho