diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-28 13:27:49 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-28 13:37:53 +0200 |
commit | b21d68690612214d8edd810acf11880c3c0ad586 (patch) | |
tree | 7506c8901d7d16c4a5603a11e567b9e6315c9e9d /t/cond39.sh | |
parent | da9ad6fafeaf5dfa710a1a2b4176d1a049fddf13 (diff) | |
parent | d25fac43a7c239fe8f56b2ce1b87ef3e3d4d7ef0 (diff) | |
download | automake-b21d68690612214d8edd810acf11880c3c0ad586.tar.gz |
Merge branch 'maint'
* maint:
tests: simpler workaround for shells losing the exit status in exit trap
+ Extra non-trivial edits:
* Several tests: Adjusted to use 'exit' rather than 'Exit'.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/cond39.sh')
-rwxr-xr-x | t/cond39.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/t/cond39.sh b/t/cond39.sh index 840b8b804..4cbda481a 100755 --- a/t/cond39.sh +++ b/t/cond39.sh @@ -17,7 +17,7 @@ # Build either as CONFIG_FILE or as PROGRAM. required=cc -. ./defs || Exit 1 +. ./defs || exit 1 mkdir sub @@ -78,24 +78,24 @@ $AUTOCONF $AUTOMAKE --add-missing ./configure COND=true -$MAKE 2>stderr || { cat stderr >&2; Exit 1; } +$MAKE 2>stderr || { cat stderr >&2; exit 1; } cat stderr >&2 -grep 'overriding commands' stderr && Exit 1 +grep 'overriding commands' stderr && exit 1 $MAKE sure-exist -./prog1 && Exit 1 -./sub/prog2 && Exit 1 +./prog1 && exit 1 +./sub/prog2 && exit 1 $MAKE clean $MAKE sure-not-exist $MAKE $MAKE sure-exist -./prog1 && Exit 1 -./sub/prog2 && Exit 1 +./prog1 && exit 1 +./sub/prog2 && exit 1 $MAKE distclean ./configure COND=false -$MAKE 2>stderr || { cat stderr >&2; Exit 1; } +$MAKE 2>stderr || { cat stderr >&2; exit 1; } cat stderr >&2 -grep 'overriding commands' stderr && Exit 1 +grep 'overriding commands' stderr && exit 1 ./prog1 ./sub/prog2 $MAKE clean |