diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-07-11 13:00:31 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-07-11 13:00:31 +0300 |
commit | 3d57a8490738d9febaa4496eba791e4fbfc91826 (patch) | |
tree | b421de22c2859dd18f34e99905ac38baba4d41d9 /testsuite | |
parent | 49c3ce64f092fd5434fc67056f312bd32f82bae3 (diff) |
awk: undo TI_PRINT, it introduced a bug (print with any redirect acting as printf)
function old new delta
evaluate 3329 3337 +8
Patch by Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/awk.tests | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests index 770d8ffce..6b23b91cb 100755 --- a/testsuite/awk.tests +++ b/testsuite/awk.tests @@ -450,4 +450,9 @@ testing "awk exit N propagates through END's exit" \ "42\n" \ '' '' +testing "awk print + redirect" \ + "awk 'BEGIN { print \"STDERR %s\" >\"/dev/stderr\" }' 2>&1" \ + "STDERR %s\n" \ + '' '' + exit $FAILCOUNT |