aboutsummaryrefslogtreecommitdiff
path: root/testsuite/printf.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-06-13 23:41:57 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-06-13 23:41:57 +0200
commit2441060bebec2d65c9d106335223f37ec6e8ea5b (patch)
tree22c62604f5bbde2defb5a69400fb7d27bf847dc7 /testsuite/printf.tests
parent16635cc2e052897ce7c2d4989acd0b706c3ac3dd (diff)
downloadbusybox-w32-2441060bebec2d65c9d106335223f37ec6e8ea5b.tar.gz
busybox-w32-2441060bebec2d65c9d106335223f37ec6e8ea5b.tar.bz2
busybox-w32-2441060bebec2d65c9d106335223f37ec6e8ea5b.zip
fix or document testsuite failures
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/printf.tests')
-rwxr-xr-xtestsuite/printf.tests13
1 files changed, 7 insertions, 6 deletions
diff --git a/testsuite/printf.tests b/testsuite/printf.tests
index f9d1decae..558ecb194 100755
--- a/testsuite/printf.tests
+++ b/testsuite/printf.tests
@@ -79,12 +79,13 @@ testing "printf understands %Ld" \
79 "-5\n""0\n" \ 79 "-5\n""0\n" \
80 "" "" 80 "" ""
81 81
82# We are "more correct" here than bash/coreutils: they happily print -2 82# "FIXED" now to act compatibly
83# as if it is a huge unsigned number 83## We are "more correct" here than bash/coreutils: they happily print -2
84testing "printf handles %u -N" \ 84## as if it is a huge unsigned number
85 "${bb}printf '%u\n' 1 -2 3 2>&1; echo \$?" \ 85#testing "printf handles %u -N" \
86 "1\n""printf: -2: invalid number\n""0\n""3\n""0\n" \ 86# "${bb}printf '%u\n' 1 -2 3 2>&1; echo \$?" \
87 "" "" 87# "1\n""printf: -2: invalid number\n""0\n""3\n""0\n" \
88# "" ""
88 89
89# Actually, we are wrong here: exit code should be 1 90# Actually, we are wrong here: exit code should be 1
90testing "printf handles %d bad_input" \ 91testing "printf handles %d bad_input" \