maintcheck: guard against `...` for command substitution in test cases
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 22 Jun 2012 22:06:10 +0000 (00:06 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 22 Jun 2012 22:06:10 +0000 (00:06 +0200)
commite5343765c216cd8bff74da01986e61c3fe093eb1
tree36e2af783e3fdd6f3fdf308c6e4fd2a2f3ce4562
parent465111cdfd1b92feaf9c6fd679cf1845c4e53083
maintcheck: guard against `...` for command substitution in test cases

But still allow them in configure.ac, Makefile.am and shell scripts
created or used inside test cases itself, because Autoconf (as of
version 2.69) does not yet ensure that $CONFIG_SHELL will be set to
a proper POSIX shell.

* syntax-checks.mk (sc_tests_command_subst): New check.
(syntax-check_rules): Add it.
* t/tap-global-log.sh: Minimal tweakings to avoid triggering the
new maintainer check.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
syntax-checks.mk
t/tap-global-log.sh