[PATCH] ntdll/tests: Enable some more string API tests.

Nikolay Sivov nsivov at codeweavers.com
Mon Dec 9 02:07:22 CST 2019


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/ntdll/tests/rtlstr.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/tests/rtlstr.c b/dlls/ntdll/tests/rtlstr.c
index 6f59e956c2..d2091859b8 100644
--- a/dlls/ntdll/tests/rtlstr.c
+++ b/dlls/ntdll/tests/rtlstr.c
@@ -597,6 +597,7 @@ static void test_RtlUpcaseUnicodeChar(void)
 	} else {
 	    expected_upper_ch = ch;
 	}
+todo_wine_if(ch == 0xb5)
 	ok(upper_ch == expected_upper_ch,
 	   "RtlUpcaseUnicodeChar('%c'[=0x%x]) has result '%c'[=0x%x], expected: '%c'[=0x%x]\n",
 	   ch, ch, upper_ch, upper_ch, expected_upper_ch, expected_upper_ch);
@@ -646,6 +647,7 @@ static void test_RtlUpcaseUnicodeString(void)
 
     pRtlUpcaseUnicodeString(&result_str, &ascii_str, 0);
     for (i = 0; i <= 255; i++) {
+todo_wine_if(ascii_str.Buffer[i] == 0xb5)
 	ok(result_str.Buffer[i] == upper_str.Buffer[i],
 	   "RtlUpcaseUnicodeString works wrong: '%c'[=0x%x] is converted to '%c'[=0x%x], expected: '%c'[=0x%x]\n",
 	   ascii_str.Buffer[i], ascii_str.Buffer[i],
@@ -2615,10 +2617,10 @@ START_TEST(rtlstr)
     test_RtlStringFromGUID();
     test_RtlIsTextUnicode();
     test_RtlCompareUnicodeString();
+    test_RtlUpcaseUnicodeChar();
+    test_RtlUpcaseUnicodeString();
     if(0)
     {
-	test_RtlUpcaseUnicodeChar();
-	test_RtlUpcaseUnicodeString();
 	test_RtlDowncaseUnicodeString();
     }
     test_RtlHashUnicodeString();
-- 
2.24.0




More information about the wine-devel mailing list