Changeset 2076 for trunk/src/libctests/glibc/string/tst-strxfrm.c
- Timestamp:
- Jun 26, 2005, 12:42:04 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libctests/glibc/string/tst-strxfrm.c
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r2075 r2076 6 6 7 7 8 char const string[] = "";9 10 11 8 static int 12 test (const char *locale )9 test (const char *locale, const char *string) 13 10 { 14 11 size_t bufsize; … … 18 15 #ifdef HAVE_NEWLOCALE 19 16 locale_t loc; 20 #endif 17 #endif 21 18 int result = 0; 22 19 … … 55 52 56 53 freelocale (loc); 57 #endif 54 #endif 58 55 59 56 free (buf); … … 68 65 int result = 0; 69 66 70 result |= test ("C"); 71 #ifdef __BSD__ /* bsd is missing the aliases. loosers. */ 72 result |= test ("en_US.ISO8859-1"); 67 result |= test ("C", ""); 68 result |= test ("C", "abcABCxyzXYZ|+-/*(%$"); 69 #ifdef __BSD__ /* BSD is missing the aliases. loosers. */ 70 result |= test ("en_US.ISO8859-1", ""); 71 result |= test ("en_US.ISO8859-1", "abcABCxyzXYZ|+-/*(%$"); 73 72 #else 74 result |= test ("en_US.ISO-8859-1"); 75 #endif 76 result |= test ("de_DE.UTF-8"); 73 result |= test ("en_US.ISO-8859-1", ""); 74 result |= test ("en_US.ISO-8859-1", "abcABCxyzXYZ|+-/*(%$"); 75 #endif 76 result |= test ("de_DE.UTF-8", ""); 77 result |= test ("de_DE.UTF-8", "abcABCxyzXYZ|+-/*(%$"); 77 78 78 79 return result; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.