https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c287bbe586376bc02f58c775666c6aa1853eafe8

commit c287bbe586376bc02f58c775666c6aa1853eafe8
Author:     Pierre Schweitzer <[email protected]>
AuthorDate: Sat Sep 8 15:19:45 2018 +0200
Commit:     Pierre Schweitzer <[email protected]>
CommitDate: Sat Sep 8 15:21:01 2018 +0200

    [KMTESTS:CC] Fix two failing tests on WHS bot
---
 modules/rostests/kmtests/ntos_cc/CcMapData_drv.c | 3 ++-
 modules/rostests/kmtests/ntos_cc/CcPinRead_drv.c | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/rostests/kmtests/ntos_cc/CcMapData_drv.c 
b/modules/rostests/kmtests/ntos_cc/CcMapData_drv.c
index 3e86a3a55c..16de38cfbf 100644
--- a/modules/rostests/kmtests/ntos_cc/CcMapData_drv.c
+++ b/modules/rostests/kmtests/ntos_cc/CcMapData_drv.c
@@ -335,8 +335,9 @@ PerformTest(
                     KmtStartSeh();
                     Ret = CcMapData(TestFileObject, &Offset, 0x1000, 0, &Bcb, 
(PVOID *)&Buffer);
                     KmtEndSeh(STATUS_SUCCESS);
+                    ok(Ret == FALSE, "CcMapData succeed\n");
 
-                    if (!skip(Ret == TRUE, "CcMapData failed\n"))
+                    if (Ret)
                     {
                         CcUnpinData(Bcb);
                     }
diff --git a/modules/rostests/kmtests/ntos_cc/CcPinRead_drv.c 
b/modules/rostests/kmtests/ntos_cc/CcPinRead_drv.c
index 9c338fe785..d827766fc5 100644
--- a/modules/rostests/kmtests/ntos_cc/CcPinRead_drv.c
+++ b/modules/rostests/kmtests/ntos_cc/CcPinRead_drv.c
@@ -486,8 +486,9 @@ PerformTest(
                     KmtStartSeh();
                     Ret = CcPinRead(TestFileObject, &Offset, 0x1000, 0, &Bcb, 
(PVOID *)&Buffer);
                     KmtEndSeh(STATUS_SUCCESS);
+                    ok(Ret == FALSE, "CcMapData succeed\n");
 
-                    if (!skip(Ret == TRUE, "CcPinRead failed\n"))
+                    if (Ret)
                     {
                         CcUnpinData(Bcb);
                     }

Reply via email to