RE: make test
- From
Joachim Schmitz <jojo@schmitz-digital.de>
- Date
- Oct 15, 2012, 13:18 UTC
- Message-ID
- <004001cdaad7$8bb72aa0$a3257fe0$@schmitz-digital.de>
- In-Reply-To
- <m2mwznrk0c.fsf@igel.home>
Show 21 quoted lines
> From: Andreas Schwab [mailto:schwab@linux-m68k.org] > Sent: Monday, October 15, 2012 2:35 PM > To: Johannes Sixt > Cc: Joachim Schmitz; git@vger.kernel.org > Subject: Re: make test > > Johannes Sixt <j.sixt@viscovery.net> writes: > > > Am 10/15/2012 13:58, schrieb Joachim Schmitz: > >> ++ mkdir failing-cleanup > >> ++ cd failing-cleanup > >> ++ cat > >> ++ chmod +x failing-cleanup.sh > >> ++ test_must_fail ./failing-cleanup.sh > >> + eval_ret=1 > > > > I wonder why the log does not show the commands of function > > test_must_fail. > > That's because stderr is redirected. >
cat err ++ ./failing-cleanup.sh ++ exit_code=0 ++ test 0 = 0 ++ echo 'test_must_fail: command succeeded: ./failing-cleanup.sh' test_must_fail: command succeeded: ./failing-cleanup.sh ++ return 1