scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit bb4ebb8e2d2c0b860bb27cfbd29e0424ed9e4ee1
parent 7126c00995fd0c06ec41adf03c37881b4ac01ba6
Author: Quentin Rameau <quinq@fifth.space>
Date:   Thu, 11 May 2017 19:22:47 +0200

[tests] exit the script on error or interruption

Diffstat:
Mtests/execute/chktest.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/execute/chktest.sh b/tests/execute/chktest.sh @@ -1,6 +1,6 @@ #!/bin/sh -trap 'tabs -8;rm -f a.out' 0 1 2 3 15 +trap 'tabs -8;rm -f a.out; exit 1' 0 1 2 3 15 tabs 40 ulimit -c 0 rm -f test.log