From bd3ea046eef4902b480aea338e1fae10a0b5b244 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 4 Aug 2005 20:15:40 +0000 Subject: Improved the %d and %g tests. --- Test/B03print.ztst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Test/B03print.ztst b/Test/B03print.ztst index 2498b0fd8..cd23dba28 100644 --- a/Test/B03print.ztst +++ b/Test/B03print.ztst @@ -71,13 +71,15 @@ 0:ensure width is applied to empty param >abc! ! - printf '%d\n' 123 + printf '%d %d\n' 123.45 678 90.1 0:test d format specifier ->123 +>123 678 +>90 0 - printf '%g\n' 123.45 + printf '%g %g\n' 123.45 678 90.1 0:test g format specifier ->123.45 +>123.45 678 +>90.1 0 print -f 'arg: %b\n' -C2 '\x41' '\x42' '\x43' 0:override -C when -f was given -- cgit 1.4.1