1 /* 2 * PROJECT: ReactOS kernel-mode tests 3 * LICENSE: LGPLv2.1+ - See COPYING.LIB in the top level directory 4 * PURPOSE: Kernel-Mode Test Suite power IRP management test user-mode part 5 * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org> 6 */ 7 8 #include <kmt_test.h> 9 #include "PoIrp.h" 10 11 START_TEST(PoIrp) 12 { 13 DWORD Error; 14 15 #if defined(_M_AMD64) 16 if (TRUE) 17 { 18 skip(FALSE, "ROSTESTS-368: Skipping kmtest:PoIrp because it crashes on Windows Server 2003 x64-Testbot.\n"); 19 return; 20 } 21 #endif 22 23 Error = KmtLoadAndOpenDriver(L"PoIrp", TRUE); 24 ok_eq_int(Error, ERROR_SUCCESS); 25 if (Error) 26 return; 27 28 KmtSendToDriver(IOCTL_RUN_TEST); 29 KmtCloseDriver(); 30 KmtUnloadDriver(); 31 } 32