diff options
Diffstat (limited to 'testsuite/printf.tests')
-rwxr-xr-x | testsuite/printf.tests | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/printf.tests b/testsuite/printf.tests index a5c71ec..f9d1dec 100755 --- a/testsuite/printf.tests +++ b/testsuite/printf.tests @@ -74,6 +74,11 @@ testing "printf understands %ld" \ "-5\n""0\n" \ "" "" +testing "printf understands %Ld" \ + "${bb}printf '%Ld\n' -5 2>&1; echo \$?" \ + "-5\n""0\n" \ + "" "" + # We are "more correct" here than bash/coreutils: they happily print -2 # as if it is a huge unsigned number testing "printf handles %u -N" \ |