[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI 0/3] {test-protocols} tap/awk: handle non-zero exit statuses
From: |
Stefano Lattarini |
Subject: |
[FYI 0/3] {test-protocols} tap/awk: handle non-zero exit statuses |
Date: |
Mon, 22 Aug 2011 15:33:05 +0200 |
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
- [FYI 0/3] {test-protocols} tap/awk: handle non-zero exit statuses,
Stefano Lattarini <=