[PATCH v2 1/2] kernel32/tests: Add test for ini filename is NULL.

Alexandre Julliard julliard at winehq.org
Tue Jul 28 08:46:15 CDT 2020


"Jiajin Cui" <cuijiajin at uniontech.com> writes:

> From 76b9de5b8f228f8624f7047dbd74acbfa65397bb Mon Sep 17 00:00:00 2001
> From: Jiajin Cui <cuijiajin at uniontech.com>
> Date: Tue, 30 Jun 2020 13:52:04 +0800
> Subject: [PATCH v2 1/2] kernel32/tests: Add test for ini filename is NULL.
>
> Signed-off-by: Jiajin Cui <cuijiajin at uniontech.com>
> ---
>  dlls/kernel32/tests/profile.c | 46 ++++++++++++++++++++++++++++-------
>  1 file changed, 37 insertions(+), 9 deletions(-)

This fails here, it only succeeds if win.ini is missing. Please make
sure to test with a valid win.ini.

../../../tools/runtest -q -P wine -T ../../.. -M kernel32.dll -p kernel32_test.exe profile && touch profile.ok
profile.c:122: Test succeeded inside todo block: test<00>: ret<0000000000> exp<0000000000>
profile.c:122: Test failed: test<01>: ret<0000000000> exp<4294967295>
profile.c:122: Test failed: test<02>: ret<0000000000> exp<0000000001>
profile.c:122: Test succeeded inside todo block: test<03>: ret<0000000000> exp<0000000000>
profile.c:122: Test succeeded inside todo block: test<04>: ret<0000000000> exp<0000000000>
profile.c:122: Test failed: test<05>: ret<0000000000> exp<4294967295>
profile.c:122: Test failed: test<06>: ret<0000000000> exp<0000000001>
make: *** [Makefile:836: profile.ok] Error 7

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list