]> git.draconx.ca Git - dxcommon.git/commit
gen-strtab.awk: Work around HP-UX shell bug in test case.
authorNick Bowler <nbowler@draconx.ca>
Fri, 17 Nov 2023 08:03:42 +0000 (03:03 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 18 Nov 2023 21:39:56 +0000 (16:39 -0500)
commit846482f49d7cf15b749c5b67ab8268f4d82297a4
tree8b5346983612598f41a1e98aaa774d329e63acfe
parent15c81590df7ef0ff8ec387b259fee8dac8ceda0e
gen-strtab.awk: Work around HP-UX shell bug in test case.

On HP-UX /bin/sh, redirections on "read" in a subshell can drop some
input on the floor.  Since Autotest runs many things in subshells, we
hit this when trying to construct the program to dump the string table.

Rearranging the code to use only a single redirection works around
the problem.
tests/scripts.at