diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-10 15:32:10 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-10 15:32:10 -0700 |
commit | 5a5493fefb9048a7362e3bcb629cc363df529422 (patch) | |
tree | 89f91832df8f1ba4be60ba88c9d9552e3b23c01f /t | |
parent | 51c61aee1e194bc592225af63fe38fd7e6d799fb (diff) | |
download | rainbows-5a5493fefb9048a7362e3bcb629cc363df529422.tar.gz |
In case the test doesn't complete and somehow doesn't write the exit code, we always want to start with one.
Diffstat (limited to 't')
-rw-r--r-- | t/GNUmakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/GNUmakefile b/t/GNUmakefile index e957b66..934c179 100644 --- a/t/GNUmakefile +++ b/t/GNUmakefile @@ -29,7 +29,7 @@ t_log = $(t_pfx).log t_run = $(TRACER) $(SHELL) $(SH_TEST_OPTS) $@ # prefix stdout messages with ':', and stderr messages with '!' -t_wrap = ( ( ( $(RM) $(t_code); \ +t_wrap = ( ( ( echo 42 > $(t_code); \ $(t_run); \ echo $$? > $(t_code) ) \ | sed 's/^/$(pfx):/' 1>&3 ) 2>&1 \ |