summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2005-03-08 15:36:35 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2005-03-08 15:36:35 +0000
commite61502ef7e72cf1c96bf3191b7cb52438f408885 (patch)
tree7f9a5969a2d8905c9bb77d58c50c424f823efd30 /regress
parentbaa53fc9b00a6ca1adf96418924f5f82d37d3c1b (diff)
Some more real-life regression cases.
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libutil/fmt_scaled/fmt_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/regress/lib/libutil/fmt_scaled/fmt_test.c b/regress/lib/libutil/fmt_scaled/fmt_test.c
index 88e12bd6407..e5e957088ea 100644
--- a/regress/lib/libutil/fmt_scaled/fmt_test.c
+++ b/regress/lib/libutil/fmt_scaled/fmt_test.c
@@ -97,6 +97,9 @@ static struct { /* the test cases */
{ 1800, "1.8K", 0 },
{ 2000, "2.0K", 0 },
{ 123456, "120K", 0 },
+ { 1048576, "1.0M", 0},
+ { 1048628, "1.0M", 0},
+ { 1049447, "1.0M", 0},
{ -102400, "-100K", 0},
{ -103423, "-101K", 0 },
{ 7299072, "7.0M", 0 },