diff options
Diffstat (limited to 'testsuite/awk.tests')
-rwxr-xr-x | testsuite/awk.tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/awk.tests b/testsuite/awk.tests index dc2ae2e11..bcaafe8fd 100755 --- a/testsuite/awk.tests +++ b/testsuite/awk.tests | |||
@@ -463,4 +463,10 @@ testing "awk \"cmd\" | getline" \ | |||
463 | "HELLO\n" \ | 463 | "HELLO\n" \ |
464 | '' '' | 464 | '' '' |
465 | 465 | ||
466 | # printf %% should print one % (had a bug where it didn't) | ||
467 | testing 'awk printf %% prints one %' \ | ||
468 | "awk 'BEGIN { printf \"%%\n\" }'" \ | ||
469 | "%\n" \ | ||
470 | '' '' | ||
471 | |||
466 | exit $FAILCOUNT | 472 | exit $FAILCOUNT |