add tests for ntdll atom functions

Dmitry Timoshkov dmitry at baikal.ru
Fri Apr 4 21:33:44 CST 2003


"GyЖrgy 'Nog' Jeney" <nog at sdf.lonestar.org> wrote:

> This adds tests for the RtlAtom functions in ntdll.  I'm not sure about the
> correctness of this patch, so could some people with an nt system run these
> and send me the output?

Attached atom.txt is the result of running your test under win2k SP3.

Results are not very encouraging...

--
Dmitry.
-------------- next part --------------
atom.c:133: Test failed: We could create the atom table, but we couldn't destroy it! retval: c000000d
atom.c:140: Test failed: We were unable to add a simple atom to the atom table, retval: c000000d
atom.c:143: Test failed: We were unable to find capital version of the atom, retval: c000000d
atom.c:144: Test failed: Found wrong atom in table when querying capital atom
atom.c:147: Test failed: Unable to find lowercase version of the atom, retval: c000000d
atom.c:148: Test failed: Found wrong atom when querying lowercase atom
atom.c:151: Test failed: Got wrong retval, retval: c000000d
atom.c:154: Test failed: Faild to find totally legitimate atom, retval: c000000d
atom.c:155: Test failed: Found wrong atom!
atom.c:158: Test failed: Unable to add other legitimate atom to table, retval: c000000d
atom.c:161: Test failed: Unable to pin atom in atom table, retval: c000000d
atom.c:83: Test failed: Unable to find atom from another thread, retval: c000000d
atom.c:87: Test failed: Unable to lookup pinned atom in table, retval: c000000d
atom.c:92: Test failed: We got wrong retval: c000000d
atom.c:97: Test failed: Failed with longenough buffer, retval: c000000d
atom.c:98: Test failed: Refcount was not 1 but 0
atom.c:99: Test failed: Pincount was not 1 but 0
atom.c:100: Test failed: We found wrong atom!!
atom.c:106: Test failed: RtlQueryAtomInAtomTable with optional args invalid failed, retval: c000000d
atom.c:107: Test failed: Found Wrong atom!
atom.c:112: Test failed: Unable to pin atom in atom table, retval: c000000d
atom.c:168: Test failed: Unable to query atom in atom table, retval: c000000d
atom.c:169: Test failed: RefCount is not 1 but 0
atom.c:170: Test failed: PinCount is not 2 but 0
atom.c:171: Test failed: We found wrong atom
atom.c:176: Test failed: Unable to empty atom table, retval c000000d
atom.c:180: Test failed: It seems RtlEmptyAtomTable deleted our pinned atom eaven though we asked it not to, retval: c000000d
atom.c:181: Test failed: RefCount is not 1 but 0
atom.c:182: Test failed: PinCount is not 2 but 0
atom.c:183: Test failed: We found wrong atom
atom.c:188: Test failed: We can't find our pinned atom!! retval: c000000d
atom.c:189: Test failed: We found wrond atom!!!
atom.c:192: Test failed: We found the atom in our table eaven though we asked RtlEmptyAtomTable to remove it, retval: c000000d
atom.c:195: Test failed: Unable to add atom to table, retval: c000000d
atom.c:198: Test failed: Unable to empty atom table, retval: c000000d
atom.c:201: Test failed: The pinned atom should be removed, retval: c000000d
atom.c:204: Test failed: Non pinned atom should also be removed, retval: c000000d
atom.c:207: Test failed: Can't destroy atom table, retval: c000000d
atom.c:220: Test failed: Unable to add atom to atom table, retval c000000d
atom.c:223: Test failed: Can't find previously added atom in table, retval: c000000d
atom.c:224: Test failed: Found wrong atom! retval: c000000d
atom.c:227: Test failed: Unable to delete atom from table, retval: c000000d
atom.c:233: Test failed: Unable to add atom to atom table, retval: c000000d
atom.c:236: Test failed: Unable to pin atom in atom table, retval: c000000d
atom.c:239: Test failed: Unable to find atom in atom table, retval: c000000d
atom.c:240: Test failed: Wrong atom found
atom.c:243: Test failed: Unable to delete atom from table, retval: c000000d
atom.c:249: Test failed: Unable to destroy atom table
atom.c:315: Test failed: Unable to add int atom to table, retval: c000000d
atom.c:318: Test failed: Unable to add int atom to table, retval: c000000d
atom.c:321: Test failed: Unable to add int atom to table, retval: c000000d
atom.c:324: Test failed: Unable to re-add int atom to table, retval: c000000d
atom.c:327: Test failed: Unable to query atom in atom table, retval: c000000d
atom.c:329: Test failed: Expected refcount 2 but got 0
atom.c:332: Test failed: Unable to destroy atom table, retval: c000000d
atom: 163903 tests executed, 0 marked as todo, 55 failures.


More information about the wine-devel mailing list