[PATCH] kernelbase/tests: Fix a possible test failure.

Zhiyi Zhang zzhang at codeweavers.com
Thu Feb 21 20:35:09 CST 2019


Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
 dlls/kernelbase/tests/path.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/kernelbase/tests/path.c b/dlls/kernelbase/tests/path.c
index 7644c312b7..b5da303629 100644
--- a/dlls/kernelbase/tests/path.c
+++ b/dlls/kernelbase/tests/path.c
@@ -1035,6 +1035,7 @@ static void test_PathCchCanonicalize(void)
         ok(hr == E_INVALIDARG, "expect hr %#x, got %#x\n", E_INVALIDARG, hr);
     }
 
+    path_inW[0] = 0;
     hr = pPathCchCanonicalize(path_outW, 0, path_inW);
     ok(hr == E_INVALIDARG, "expect hr %#x, got %#x\n", E_INVALIDARG, hr);
 
-- 
2.20.1




More information about the wine-devel mailing list