diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:29:21 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:31:55 +0200 |
commit | 99ef2719fb3d703fe38c4113cd7f5adec516dd3a (patch) | |
tree | 2c1f77cb41b60ccbf8faa77a3640491a3546b546 /test/locale/tst-setlocale.c | |
parent | 543308f6c46cf2edf8a524bc9c631e472570fe72 (diff) |
test: remove test suite
The test suite is now a developed in a separate git repository.
See here:
http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng-test.git
The test suite should be just like every other software compiled
with the cross-toolchain. In the past strange problems where found
when the test suite got build in the toolchain creation step.
Diffstat (limited to 'test/locale/tst-setlocale.c')
-rw-r--r-- | test/locale/tst-setlocale.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/locale/tst-setlocale.c b/test/locale/tst-setlocale.c deleted file mode 100644 index 1f8e68d88..000000000 --- a/test/locale/tst-setlocale.c +++ /dev/null @@ -1,25 +0,0 @@ -/* Test case by Jakub Jelinek <jakub@redhat.com>. */ -#include <locale.h> -#include <stdio.h> -#include <string.h> - -int -main (void) -{ - char q[30]; - char *s; - - setlocale (LC_ALL, ""); - printf ("after setlocale (LC_ALL, \"\"): %s\n", setlocale(LC_NUMERIC, NULL)); - - strcpy (q, "de_DE.UTF-8"); - setlocale (LC_NUMERIC, q); - printf ("after setlocale (LC_NUMERIC, \"%s\"): %s\n", - q, setlocale(LC_NUMERIC, NULL)); - - strcpy (q, "de_DE.ISO-8859-1"); - s = setlocale (LC_NUMERIC, NULL); - printf ("after overwriting string: %s\n", s); - - return strcmp (s, "de_DE.UTF-8") != 0; -} |