self tests: register an expected failures with Solaris /bin/sh
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 9 Aug 2011 08:49:01 +0000 (10:49 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 9 Aug 2011 09:03:07 +0000 (11:03 +0200)
commit389bd6b3d947dab08aa7fbce4540d1bd504e2446
treed85590ce4e2b57dd5a095b9d486f88ed65f9e28b
parent4c4beef68cf5b0b3ab92e8e41ed322da2d8b21b5
self tests: register an expected failures with Solaris /bin/sh

Solaris 10 /bin/sh erroneously exit with success right away when
the following three conditions are met at the same time:
 1. the `errexit' flag is active,
 2. an exit trap is installed, and
 3. a non-existing command is issued.

* tests/self-exit.tap: When that bug is detected, issue an XFAIL
rather than a FAIL.  Since we are at it, improve by avoiding
creation of stray temporary files when testing for non-executable
commands.
ChangeLog
tests/self-check-exit.tap