Change dependency order of ntdll-LZNT1_Compression and ntdll-RtlIpStringToAddress.

This commit is contained in:
Sebastian Lackner
2015-03-10 18:36:54 +01:00
parent 82b52e11c3
commit 4b41a20552
6 changed files with 49 additions and 49 deletions

View File

@@ -1,4 +1,4 @@
From 6b246b16957c097a43fa5b37399cd97a24ad045b Mon Sep 17 00:00:00 2001
From ec029295815e271cfaf193997cdde3cf53df4a3b Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Thu, 30 Oct 2014 17:41:11 +0100
Subject: ntdll/tests: Add tests for Rtl[Decompress|Compress]Buffer and
@@ -9,13 +9,13 @@ Subject: ntdll/tests: Add tests for Rtl[Decompress|Compress]Buffer and
1 file changed, 740 insertions(+)
diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c
index 79c4974..0c4d684 100644
index e8eb04a..2f6c421 100644
--- a/dlls/ntdll/tests/rtl.c
+++ b/dlls/ntdll/tests/rtl.c
@@ -99,6 +99,10 @@ static NTSTATUS (WINAPI *pLdrAddRefDll)(ULONG, HMODULE);
@@ -92,6 +92,10 @@ static NTSTATUS (WINAPI *pRtlIpv4StringToAddressA)(PCSTR, BOOLEAN, PCSTR *, IN_
static NTSTATUS (WINAPI *pLdrAddRefDll)(ULONG, HMODULE);
static NTSTATUS (WINAPI *pLdrLockLoaderLock)(ULONG, ULONG*, ULONG_PTR*);
static NTSTATUS (WINAPI *pLdrUnlockLoaderLock)(ULONG, ULONG_PTR);
static NTSTATUS (WINAPI *pRtlMultiByteToUnicodeN)(LPWSTR, DWORD, LPDWORD, LPCSTR, DWORD);
+static NTSTATUS (WINAPI *pRtlGetCompressionWorkSpaceSize)(USHORT, PULONG, PULONG);
+static NTSTATUS (WINAPI *pRtlDecompressBuffer)(USHORT, PUCHAR, ULONG, const UCHAR*, ULONG, PULONG);
+static NTSTATUS (WINAPI *pRtlDecompressFragment)(USHORT, PUCHAR, ULONG, const UCHAR*, ULONG, ULONG, PULONG, PVOID);
@@ -23,10 +23,10 @@ index 79c4974..0c4d684 100644
static HMODULE hkernel32 = 0;
static BOOL (WINAPI *pIsWow64Process)(HANDLE, PBOOL);
@@ -152,6 +156,10 @@ static void InitFunctionPtrs(void)
@@ -139,6 +143,10 @@ static void InitFunctionPtrs(void)
pLdrAddRefDll = (void *)GetProcAddress(hntdll, "LdrAddRefDll");
pLdrLockLoaderLock = (void *)GetProcAddress(hntdll, "LdrLockLoaderLock");
pLdrUnlockLoaderLock = (void *)GetProcAddress(hntdll, "LdrUnlockLoaderLock");
pRtlMultiByteToUnicodeN = (void *)GetProcAddress(hntdll, "RtlMultiByteToUnicodeN");
+ pRtlGetCompressionWorkSpaceSize = (void *)GetProcAddress(hntdll, "RtlGetCompressionWorkSpaceSize");
+ pRtlDecompressBuffer = (void *)GetProcAddress(hntdll, "RtlDecompressBuffer");
+ pRtlDecompressFragment = (void *)GetProcAddress(hntdll, "RtlDecompressFragment");
@@ -34,7 +34,7 @@ index 79c4974..0c4d684 100644
}
hkernel32 = LoadLibraryA("kernel32.dll");
ok(hkernel32 != 0, "LoadLibrary failed\n");
@@ -2416,6 +2424,735 @@ static void test_LdrLockLoaderLock(void)
@@ -1599,6 +1607,735 @@ static void test_LdrLockLoaderLock(void)
pLdrUnlockLoaderLock(0, magic);
}
@@ -770,8 +770,8 @@ index 79c4974..0c4d684 100644
START_TEST(rtl)
{
InitFunctionPtrs();
@@ -2445,4 +3182,7 @@ START_TEST(rtl)
test_RtlIpv6StringToAddressEx();
@@ -1625,4 +2362,7 @@ START_TEST(rtl)
test_RtlIpv4StringToAddress();
test_LdrAddRefDll();
test_LdrLockLoaderLock();
+ test_RtlGetCompressionWorkSpaceSize();

View File

@@ -1,2 +1 @@
Fixes: [37449] Support for RtlDecompressBuffer
Depends: ntdll-RtlIpStringToAddress