diff options
Diffstat (limited to 'stdio-common/tst-printf.sh')
-rw-r--r-- | stdio-common/tst-printf.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stdio-common/tst-printf.sh b/stdio-common/tst-printf.sh index e6e3327a17..0c5d784d68 100644 --- a/stdio-common/tst-printf.sh +++ b/stdio-common/tst-printf.sh @@ -134,6 +134,8 @@ prefix 6d 6o 6x 6X 6u 0.10000000000000009 Test ok. sprintf (buf, "%07Lo", 040000000000ll) = 40000000000 +printf ("%hhu", 257) = 1 +printf ("%hu", 65537) = 1 --- Should be no further output. --- EOF cmp - ${common_objpfx}stdio-common/tst-printf.out >& /dev/null || @@ -243,6 +245,8 @@ prefix 6d 6o 6x 6X 6u 0.10000000000000009 Test ok. sprintf (buf, "%07Lo", 040000000000ll) = 40000000000 +printf ("%hhu", 257) = 1 +printf ("%hu", 65537) = 1 --- Should be no further output. --- EOF cmp - ${common_objpfx}stdio-common/tst-printf.out >& /dev/null || |