Commit f932fb32 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winetest: Fix the path to the ntoskrnl.exe/tests source.

It's the only test with a .exe extension for which the source is not in programs! Signed-off-by: 's avatarFrancois Gouget <fgouget@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 20984f2e
......@@ -518,7 +518,8 @@ static const char* get_test_source_file(const char* test, const char* subtest)
static char buffer[MAX_PATH];
int len = strlen(test);
if (len > 4 && !strcmp( test + len - 4, ".exe" ))
if (len > 4 && !strcmp( test + len - 4, ".exe" ) &&
strcmp( test, "ntoskrnl.exe" )) /* the one exception! */
{
len = sprintf(buffer, "programs/%s", test) - 4;
buffer[len] = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment