]> git.saurik.com Git - apple/shell_cmds.git/blobdiff - printf/tests/regress.sh
shell_cmds-216.40.4.tar.gz
[apple/shell_cmds.git] / printf / tests / regress.sh
index 2f68c7d908e6e0cfc14f8734a03004b66dcaaf3f..a2cf5fb7712cb1d5112f2ce01616283b9ecb5de9 100644 (file)
@@ -1,10 +1,8 @@
-# $FreeBSD: head/usr.bin/printf/tests/regress.sh 266854 2014-05-29 19:48:18Z pfg $
-
-enable -n printf
+# $FreeBSD$
 
 REGRESSION_START($1)
 
-echo '1..23'
+echo '1..24'
 
 REGRESSION_TEST(`b', `printf "abc%b%b" "def\n" "\cghi"')
 REGRESSION_TEST(`d', `printf "%d,%5d,%.5d,%0*d,%.*d\n" 123 123 123 5 123 5 123')
@@ -29,5 +27,6 @@ REGRESSION_TEST(`missingpos1', `printf "%*.*1\$s" 1 1 1 2>&1')
 REGRESSION_TEST(`missingpos1', `printf "%1\$*2\$.*s" 1 1 1 2>&1')
 REGRESSION_TEST(`missingpos1', `printf "%*1\$.*2\$s" 1 1 1 2>&1')
 REGRESSION_TEST(`missingpos1', `printf "%1\$*.*2\$s" 1 1 1 2>&1')
+REGRESSION_TEST(`bwidth', `printf "%8.2b" "a\nb\n"')
 
 REGRESSION_END()