[PATCH v4 1/6] kernel32/tests: Fix some NtMapViewOfSection tests expectations, and add results for w1064v1809

Huw Davies huw at codeweavers.com
Thu Jun 20 04:47:35 CDT 2019


On Wed, Jun 19, 2019 at 02:01:23PM +0200, RĂ©mi Bernon wrote:
> @@ -1288,7 +1290,8 @@ static void test_NtMapViewOfSection(void)
>      ptr2 = NULL;
>      size = 0;
>      status = pNtMapViewOfSection( mapping, hProcess, &ptr2, 22, 0, &offset, &size, 1, 0, PAGE_READWRITE );
> -    ok( status == STATUS_INVALID_PARAMETER_4, "NtMapViewOfSection returned %x\n", status );
> +    ok( status == STATUS_INVALID_PARAMETER_4 || status == STATUS_INVALID_PARAMETER,
> +        "NtMapViewOfSection returned %x\n", status );
>      if (status == STATUS_SUCCESS)
>      {
>          status = pNtUnmapViewOfSection( hProcess, ptr2 );

Since [2/6] will need a change, I'll bring this up here.  The if block here
could be removed since it's unused.

Huw.




More information about the wine-devel mailing list