summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-12-18 21:42:45 +0000
committereadler <eadler@FreeBSD.org>2012-12-18 21:42:45 +0000
commit1588d05c3263d7a405b1ebb3de99f45860a4bde8 (patch)
treef1294059cd4106f9ac4d80a8fddbe2e89ded042c /tools
parent6ec82838ad8ebaa29e08010abad0128bb95c5b4a (diff)
downloadFreeBSD-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')
-rw-r--r--tools/regression/usr.bin/printf/regress.sh3
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()
OpenPOWER on IntegriCloud