summaryrefslogtreecommitdiff
path: root/lib/tap-driver.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-08-24 09:54:22 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-08-24 11:29:07 +0200
commita822d925d597c5c0f67e3c9ad9642cfcf70ec7fc (patch)
tree9941e5ac5c8562b62b648f6b9806e60565c467c4 /lib/tap-driver.sh
parent30913e0eb8ef1f9924b6762d277a561c8de9e622 (diff)
downloadautomake-a822d925d597c5c0f67e3c9ad9642cfcf70ec7fc.tar.gz
tap/awk: remove obsolete "FIXME" comment
* lib/tap-driver.sh: Remove obsolete "FIXME" comment about our driver losing the exit status of the tested program; this issue has been solved in precedent commit `v1.11-1052-gd630a0d'. Fix an unrelated typo in comments since we are at it.
Diffstat (limited to 'lib/tap-driver.sh')
-rwxr-xr-xlib/tap-driver.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/tap-driver.sh b/lib/tap-driver.sh
index 125566259..bec914f99 100755
--- a/lib/tap-driver.sh
+++ b/lib/tap-driver.sh
@@ -23,7 +23,7 @@
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
-scriptversion=2011-08-21.21; # UTC
+scriptversion=2011-08-24.08; # UTC
# Make unconditional expansion of undefined variables an error. This
# helps a lot in preventing typo-related bugs.
@@ -116,11 +116,6 @@ else
fi
{
- # FIXME: this usage loses the test program exit status. We should
- # probably rewrite the awk script to use the
- # expression | getline [var]
- # idiom, which should allow us to obtain the final exit status from
- # <expression> when closing it.
{ test $merge -eq 0 || exec 2>&1; "$@"; echo $?; } \
| LC_ALL=C ${AM_TAP_AWK-awk} \
-v me="$me" \
@@ -133,7 +128,7 @@ fi
-v comments="$comments" \
-v diag_string="$diag_string" \
'
-# FIXME: the usages of "cat >&3" below could be optimized whne using
+# FIXME: the usages of "cat >&3" below could be optimized when using
# FIXME: GNU awk, and/on on systems that supports /dev/fd/.
# Implementation note: in what follows, `result_obj` will be an