summaryrefslogtreecommitdiff
path: root/tests/ts/misc
AgeCommit message (Collapse)AuthorFilesLines
2011-01-03tests: fix strtosize() testKarel Zak1-34/+34
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-11-30rename util-linux-ng back to util-linuxKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-03-31tests: added tests against strtosizeYann Droneaud1-0/+9
- test empty string, white spaces - test hexadecimal Signed-off-by: Yann Droneaud <yann@droneaud.fr>
2010-03-30lib: add strtosize() functionKarel Zak1-0/+51
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>