Mercurial > hg > octave-jordi > gnulib-hg
changeset 18044:6c25ca8ee5b9
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'.
author | Pádraig Brady <P@draigBrady.com> |
---|---|
date | Fri, 03 Jul 2015 14:52:47 +0100 |
parents | 7e744e6257e6 |
children | 036929d7bacd |
files | ChangeLog tests/init.sh |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2015-07-03 Pádraig Brady <P@draigBrady.com> + + 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. + * tests/init.sh (gl_shell_test_script_): Add a test for 'local'. + 2015-07-03 Seiya Kawashima <skawashima@uchicago.edu> (tiny change) and Daiki Ueno <ueno@gnu.org>