Implementing this has been trickier than I had hoped, since it seems impossible to portably extract the exit status of an awk-spawned process using only the awk builtins ``"COMMAND" | getline'' and ``close'' (and POSIX does not even seem to require that); more precisely, on Solaris 10, that does not work with both `/usr/bin/nawk' and `/usr/xpg4/bin/awk'.
Stefano Lattarini (3): tap/awk: refactor for future changes tap/awk: prepare to fetch the exit status of the test command tap/awk: handle non-zero exit status from the test command ChangeLog | 26 +++++ lib/tap-driver.sh | 251 ++++++++++++++++++++++++++++--------------------- tests/tap-signal.test | 19 +++-- 3 files changed, 183 insertions(+), 113 deletions(-) -- 1.7.2.3
