Zhiyi Zhang : kernelbase/tests: Fix a possible test failure.

Alexandre Julliard julliard at winehq.org
Fri Feb 22 15:22:10 CST 2019


Module: wine
Branch: master
Commit: 397c15ab77bf3c0afd1fff9813ee16d62230db61
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=397c15ab77bf3c0afd1fff9813ee16d62230db61

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Fri Feb 22 10:35:09 2019 +0800

kernelbase/tests: Fix a possible test failure.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 7644c31..b5da303 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);
 




More information about the wine-cvs mailing list