kernel32/tests: Allow failure when loading the 268 bytes minimal PE image.
commit542dc085c91c249ca569473029578f4ed0d38537
authorFrancois Gouget <fgouget@codeweavers.com>
Mon, 19 Jul 2021 12:23:41 +0000 (19 14:23 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 20 Jul 2021 16:47:06 +0000 (20 18:47 +0200)
treef1d95bc2d502e03cf7f406a8dd55674eabb40653
parent7dc02dcd079c37e7838b51063eb197e8d4bfe591
kernel32/tests: Allow failure when loading the 268 bytes minimal PE image.

Windows 10 1809+ rejects this minimal image so allow ERROR_BAD_EXE_FORMAT
as a valid result.
Also adjust the comment to reflect the range of Windows versions that
usually accept this image and note that there are some exceptions which
means there are other unidentified factors at play.

Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=51185
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/kernel32/tests/loader.c