summaryrefslogtreecommitdiffhomepage
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-07-11 12:51:43 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-07-11 12:51:43 +0200
commit39aabfe8f033c9c62acf676b660dc979714d26a7 (patch)
treec6d6cc7445850240bebe9deddddd124d9e5453e8 /testsuite
parent4ef8841b21e27e7c7f58d3c9901c833b4fa5a862 (diff)
awk: unbreak "cmd" | getline
function old new delta evaluate 3337 3343 +6 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/awk.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests
index 6b23b91cb..242c897d1 100755
--- a/testsuite/awk.tests
+++ b/testsuite/awk.tests
@@ -455,4 +455,9 @@ testing "awk print + redirect" \
"STDERR %s\n" \
'' ''
+testing "awk \"cmd\" | getline" \
+ "awk 'BEGIN { \"echo HELLO\" | getline; print }'" \
+ "HELLO\n" \
+ '' ''
+
exit $FAILCOUNT