summaryrefslogtreecommitdiff
path: root/tests/expected/misc
AgeCommit message (Collapse)AuthorFilesLines
2011-01-03tests: fix strtosize() testKarel Zak1-4/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-03-31tests: added tests against strtosizeYann Droneaud1-0/+7
- test empty string, white spaces - test hexadecimal Signed-off-by: Yann Droneaud <yann@droneaud.fr>
2010-03-30lib: add strtosize() functionKarel Zak1-0/+23
This function int strtosize(const char *str, uintmax_t *res) supports {K,M,G,T,E,P}iB and {K,M,G,T,E,P}B suffixes. Signed-off-by: Karel Zak <kzak@redhat.com>