View | Details | Raw Unified | Return to bug 18969
Collapse All | Expand All

(-)a/string/Makefile (+9 lines)
Lines 75-78 ifeq ($(run-built-tests),yes) Link Here
75
$(objpfx)tst-svc-cmp.out: tst-svc.expect $(objpfx)tst-svc.out
75
$(objpfx)tst-svc-cmp.out: tst-svc.expect $(objpfx)tst-svc.out
76
       cmp $^ > $@; \
76
       cmp $^ > $@; \
77
       $(evaluate-test)
77
       $(evaluate-test)
78
79
LOCALES = de_DE.UTF-8 en_US.ISO-8859-1 en_US.UTF-8 tr_TR.ISO-8859-9 tr_TR.UTF-8
80
include ../gen-locales.mk
81
82
$(objpfx)test-strcasecmp.out: $(gen-locales)
83
$(objpfx)test-strncasecmp.out: $(gen-locales)
84
$(objpfx)tst-strxfrm.out: $(gen-locales)
85
$(objpfx)tst-strxfrm2.out: $(gen-locales)
86
78
endif
87
endif
(-)a/string/tst-strxfrm2.c (-2 / +4 lines)
Lines 5-10 Link Here
5
static int
5
static int
6
do_test (void)
6
do_test (void)
7
{
7
{
8
  static const char test_locale[] = "de_DE.UTF-8";
9
8
  int res = 0;
10
  int res = 0;
9
  char buf[20];
11
  char buf[20];
Lines 38-46 do_test (void) Link Here
38
      res = 1;
40
      res = 1;
39
    }
41
    }
40
  if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL)
42
  if (setlocale (LC_ALL, test_locale) == NULL)
41
    {
43
    {
42
      puts ("setlocale failed");
44
      printf ("cannot set locale \"%s\"\n", test_locale);
43
      res = 1;
45
      res = 1;
44
    }
46
    }
45
  else
47
  else

Return to bug 18969