Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 12 days ago

Closed 8 days ago

#807 closed defect (fixed)

libc failing unit tests

Reported by: Jiri Svoboda Owned by: Jakub Jermář
Priority: major Milestone:
Component: helenos/lib/c Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

As of revision 5667dcafabd2d4011aab17d1ae71978ce3d3cd45, libc fails unit tests capa_format_rounding and getopt_optional_param

Change History (2)

comment:1 Changed 12 days ago by Jiri Svoboda

Component: helenos/unspecifiedhelenos/lib/c
Owner: set to Jakub Jermář

comment:2 Changed 8 days ago by Jiri Svoboda

Resolution: fixed
Status: newclosed

Fixed

For capa_format_rounding the capa_simplify function did not correctly handle the edge case of rounding up increasing the number of integer digits (e.g. 999.99 → 1000.0).

For getopt_optional_param there was a bug in the test, optional param was supplied as "-p param" instead of "-pparam".

Note: See TracTickets for help on using tickets.