lib/util/charset Add tests for strcasecmp_m(), talloc_strupper() et al
authorAndrew Bartlett <abartlet@samba.org>
Thu, 31 Mar 2011 05:44:24 +0000 (16:44 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 31 Mar 2011 12:24:22 +0000 (14:24 +0200)
commit620921b36bbf9ccfa91124d27b7437ffdb04f660
treefe2111b2cd87e0a1e8d4c25d144cf4eb393ca5d4
parent26ccb6d5ed88638dd3643632157771320cd8042a
lib/util/charset Add tests for strcasecmp_m(), talloc_strupper() et al

This adds tests for:
 strncasecmp_m
 strcasecmp_m
 strupper_talloc_n
 strlower_talloc
 strhaslower
 strhasupper

The tests can certainly be improved with pre-calculated upper and
lower case text, but this at least puts them though their paces.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Mar 31 14:24:22 CEST 2011 on sn-devel-104
lib/util/charset/charset.h
lib/util/charset/tests/convert_string.c
lib/util/charset/util_str.c
lib/util/charset/util_unistr.c
source4/torture/local/local.c