diff options
author | eadler <eadler@FreeBSD.org> | 2012-12-18 21:42:45 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-12-18 21:42:45 +0000 |
commit | 1588d05c3263d7a405b1ebb3de99f45860a4bde8 (patch) | |
tree | f1294059cd4106f9ac4d80a8fddbe2e89ded042c /tools/regression/usr.bin | |
parent | 6ec82838ad8ebaa29e08010abad0128bb95c5b4a (diff) | |
download | FreeBSD-src-1588d05c3263d7a405b1ebb3de99f45860a4bde8.zip FreeBSD-src-1588d05c3263d7a405b1ebb3de99f45860a4bde8.tar.gz |
Add an additional regression tests for other cases to ensure these do not get fixed by accident.
Diffstat (limited to 'tools/regression/usr.bin')
-rw-r--r-- | tools/regression/usr.bin/printf/regress.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/regression/usr.bin/printf/regress.sh b/tools/regression/usr.bin/printf/regress.sh index 9df7e3e..3f7f9aa 100644 --- a/tools/regression/usr.bin/printf/regress.sh +++ b/tools/regression/usr.bin/printf/regress.sh @@ -16,5 +16,8 @@ REGRESSION_TEST(`m4', `printf "%d,%f,%c,%s\n"') REGRESSION_TEST(`m5', `printf -- "-d\n"') REGRESSION_TEST(`s', `printf "%.3s,%-5s\n" abcd abc') REGRESSION_TEST('zero', `printf "%u%u\n" 15') +REGRESSION_TEST('zero', `printf "%d%d\n" 15') +REGRESSION_TEST('zero', `printf "%d%u\n" 15') +REGRESSION_TEST('zero', `printf "%u%d\n" 15') REGRESSION_END() |