From 2441060bebec2d65c9d106335223f37ec6e8ea5b Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 13 Jun 2009 23:41:57 +0200 Subject: fix or document testsuite failures Signed-off-by: Denys Vlasenko --- testsuite/printf.tests | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'testsuite/printf.tests') 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" \ "-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" \ - "${bb}printf '%u\n' 1 -2 3 2>&1; echo \$?" \ - "1\n""printf: -2: invalid number\n""0\n""3\n""0\n" \ - "" "" +# "FIXED" now to act compatibly +## 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" \ +# "${bb}printf '%u\n' 1 -2 3 2>&1; echo \$?" \ +# "1\n""printf: -2: invalid number\n""0\n""3\n""0\n" \ +# "" "" # Actually, we are wrong here: exit code should be 1 testing "printf handles %d bad_input" \ -- cgit v1.2.3