aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/printf.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/printf.tests b/testsuite/printf.tests
index a5c71ec9d..f9d1decae 100755
--- a/testsuite/printf.tests
+++ b/testsuite/printf.tests
@@ -74,6 +74,11 @@ testing "printf understands %ld" \
74 "-5\n""0\n" \ 74 "-5\n""0\n" \
75 "" "" 75 "" ""
76 76
77testing "printf understands %Ld" \
78 "${bb}printf '%Ld\n' -5 2>&1; echo \$?" \
79 "-5\n""0\n" \
80 "" ""
81
77# We are "more correct" here than bash/coreutils: they happily print -2 82# We are "more correct" here than bash/coreutils: they happily print -2
78# as if it is a huge unsigned number 83# as if it is a huge unsigned number
79testing "printf handles %u -N" \ 84testing "printf handles %u -N" \