Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/testsuite')
-rw-r--r--newlib/testsuite/newlib.locale/UTF-8.c6
-rw-r--r--newlib/testsuite/newlib.locale/UTF-8.exp2
2 files changed, 4 insertions, 4 deletions
diff --git a/newlib/testsuite/newlib.locale/UTF-8.c b/newlib/testsuite/newlib.locale/UTF-8.c
index 36213af6a..3e5626719 100644
--- a/newlib/testsuite/newlib.locale/UTF-8.c
+++ b/newlib/testsuite/newlib.locale/UTF-8.c
@@ -139,13 +139,13 @@ int main()
int retval;
int i;
- if (!setlocale(LC_CTYPE, "UTF-8"))
+ if (!setlocale(LC_CTYPE, "C-UTF-8"))
{
- printf("Failed to set UTF-8 locale.\n");
+ printf("Failed to set C-UTF-8 locale.\n");
return 1;
}
else
- printf("Set UTF-8 locale.\n");
+ printf("Set C-UTF-8 locale.\n");
/* 2 Boundary condition test cases */
/* 2.1 First possible sequence of a certain length */
diff --git a/newlib/testsuite/newlib.locale/UTF-8.exp b/newlib/testsuite/newlib.locale/UTF-8.exp
index e97c963fc..e823a4f96 100644
--- a/newlib/testsuite/newlib.locale/UTF-8.exp
+++ b/newlib/testsuite/newlib.locale/UTF-8.exp
@@ -7,7 +7,7 @@
load_lib checkoutput.exp
set expected_output {
-"Set UTF-8 locale."
+"Set C-UTF-8 locale."
"* U-00000000"
"* U-00000080"
"* U-00000800"