tests: avoid several spurious failures on Solaris
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 24 Jun 2012 15:57:10 +0000 (17:57 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 24 Jun 2012 15:58:52 +0000 (17:58 +0200)
commitaa630a928a586fd8dc8a087337c3462d7f4fd1c6
tree1160584c2a99121822987a208e9aa36da596ee56
parentdbc83fa9f32ee17e52d02d58e1a840fd046ed9a9
tests: avoid several spurious failures on Solaris

* t/ax/is_newest: Rewrite to be Bourne-compatible, for /bin/sh shells like
Solaris' that are not POSIX-conforming.  The script is so small that such
a rewrite is easier than going through the hoops that would be required to
ensure this script is always executed with a POSIX shell.
* t/ax/is: Add a comment stating that this script is to be kept Bourne
compatible as well.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/ax/is
t/ax/is_newest