t/Makefile: check helper scripts for non-portable shell commands too
commitcd78cea29d5476c6178cd49c08d10566f5bf0d4f
authorJens Lehmann <Jens.Lehmann@web.de>
Wed, 9 Jul 2014 19:34:12 +0000 (9 21:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Jul 2014 20:04:34 +0000 (10 13:04 -0700)
tree5ec158fc906d264b5a9db3e8d5dde2d508f2ea19
parent6f92e5ff3cdc813de8ef5327fd4bad492fb7d6c9
t/Makefile: check helper scripts for non-portable shell commands too

Currently only the "t[0-9][0-9][0-9][0-9]-*.sh" scripts are tested for
shell incompatibilities using the check-non-portable-shell.pl script. This
makes it easy to miss non-POSIX constructs added to one of the t/*lib*.sh
helper scripts, as they aren't automatically detected.

Fix that by adding a THELPERS variable containing all shell scripts that
aren't tests and add these to the "test-lint-shell-syntax" target too.

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/Makefile