diff options
author | Jari Aalto <jari.aalto@cante.net> | 1999-02-19 17:11:39 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:52 +0000 |
commit | b72432fdcc59300c6fe7c9d6c8a31ad3447933f5 (patch) | |
tree | b9899162338c2ff3fd83a8aef8831cb119e85cd7 /tests/printf.tests | |
parent | bc4cd23ce958feda898c618215f94d8a4e8f4ffa (diff) | |
download | android_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.tar.gz android_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.tar.bz2 android_external_bash-b72432fdcc59300c6fe7c9d6c8a31ad3447933f5.zip |
Imported from ../bash-2.03.tar.gz.
Diffstat (limited to 'tests/printf.tests')
-rw-r--r-- | tests/printf.tests | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/printf.tests b/tests/printf.tests index d21eb4e..9b47d9e 100644 --- a/tests/printf.tests +++ b/tests/printf.tests @@ -83,6 +83,11 @@ printf -- "--%b--\n" # of the format string printf -- "--%b--\n" '4.2\c5.4\n'; printf "\n" +# make sure extra arguments are ignored if the format string doesn't +# actually use them +printf "\n" 4.4 BSD +printf " " 4.4 BSD ; printf "\n" + # make sure that a fieldwidth and precision of `*' are handled right printf "%10.8s\n" 4.4BSD printf "%*.*s\n" 10 8 4.4BSD |