Re: make test
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Oct 15, 2012, 11:52 UTC
- Message-ID
- <507BF8FE.1060502@viscovery.net>
- In-Reply-To
- <003801cdaac9$81d5bff0$85813fd0$@schmitz-digital.de>
Am 10/15/2012 13:37, schrieb Joachim Schmitz:
Show 11 quoted lines
> ... > + eval ' > find .git/objects -type f -print >should-be-empty && > test_line_count = 0 should-be-empty > ' > ++ find .git/objects -type f -print > ++ test_line_count = 0 should-be-empty > ++ test 3 '!=' 3 > +++ wc -l > ++ test 0 = 0 > + eval_ret=0
This is the key line. If it is 'eval_ret=1' (or other non-zero value), then the test failed, and the lines above it usually indicate where in the test snippet the failure occurred.
-- Hannes