]> Savannah Git Hosting - gnulib.git/commit
tests: restrict shells to those that support 'local'
authorPádraig Brady <P@draigBrady.com>
Fri, 3 Jul 2015 13:52:47 +0000 (14:52 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 3 Jul 2015 14:29:30 +0000 (15:29 +0100)
commitd03962a999263ee24acbf4fe1f87eecdd2b7ba71
tree8dae9c67d32b072cfd94a794657956edae05ac46
parent8a172a2ebf8799ac765c31a7983555a7abdf6751
tests: restrict shells to those that support 'local'

The local keyword is very widely supported and used
in tests in coreutils and grep at least.  Therefore
restrict to testing with shells that support it.
This mainly excludes /bin/sh on Solaris.
Note standard ksh also doesn't support this keyword,
but that wasn't in the list of considered shells anyway.
For discussion on adding 'local' to POSIX, see:
http://thread.gmane.org/gmane.linux.debian.devel.bugs.general/122267/focus=3271

* tests/init.sh (gl_shell_test_script_): Add a test for 'local'.
ChangeLog
tests/init.sh