diff options
author | eadler <eadler@FreeBSD.org> | 2012-12-18 21:02:38 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-12-18 21:02:38 +0000 |
commit | 0c8af40857c82fc7e7b484dcd6d85076583109ea (patch) | |
tree | 9ecfe92a175b4198b319072ba6b3848aaeb69e2c /tools/regression/usr.bin/printf/regress.zero.out | |
parent | fcd944ca59586f9936bdb0c0bb82712869544a37 (diff) | |
download | FreeBSD-src-0c8af40857c82fc7e7b484dcd6d85076583109ea.zip FreeBSD-src-0c8af40857c82fc7e7b484dcd6d85076583109ea.tar.gz |
POSIX requires that non-existent or null arguments be treated as if a
zero argument were supplied.
Add a regression test to catch this case as well.
PR: bin/174521
Submitted by: Daniel Shahaf <danielsh@elego.de> (pr)
Submitted by: Mark Johnston <markjdb@gmail.com> (initial patch)
Reviewed by: jilles
Approved by: cperciva (implicit)
MFC after: 3 weeks
Diffstat (limited to 'tools/regression/usr.bin/printf/regress.zero.out')
-rw-r--r-- | tools/regression/usr.bin/printf/regress.zero.out | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/regression/usr.bin/printf/regress.zero.out b/tools/regression/usr.bin/printf/regress.zero.out new file mode 100644 index 0000000..fa8f08c --- /dev/null +++ b/tools/regression/usr.bin/printf/regress.zero.out @@ -0,0 +1 @@ +150 |