Re: [HACK] t/test-lib.sh HACK: Add -s/--show-hack to test suite.
- From
Stephan Beyer <s-beyer@gmx.net>
- Date
- Jul 7, 2008, 14:08 UTC
- Message-ID
- <20080707140841.GB6726@leksak.fem-net>
- In-Reply-To
- <alpine.DEB.1.00.0807062241040.7342@eeepc-johanness>
Hi,
> > 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. 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 ;-)
Regards, Stephan
-- Stephan Beyer <s-beyer@gmx.net>, PGP 0x6EDDD207FCC5040F