Andrew Nguyen
3ed716f833
ntdll/tests: Make function pointer checks consistent and report skips.
2010-01-14 10:04:32 -06:00
Paul Vriens
acfada959b
ntdll/tests: Fix a test failure on NT4.
2010-01-11 11:28:41 -06:00
Alexandre Julliard
574eace36e
ntdll: Return a correct name also for file objects in NtQueryObject.
2010-01-08 13:16:57 +01:00
Alexandre Julliard
658dae988d
server: Add support for returning the object name in NtQueryObject.
2010-01-08 13:01:50 +01:00
Paul Vriens
fa2ec0f06c
ntdll/tests: Fix a memory leak (Valgrind).
2009-12-17 12:42:22 +01:00
Paul Vriens
8199784eaf
ntdll/tests: Fix a test failure on NT4/W2K.
2009-12-16 16:05:46 +01:00
Marcus Meissner
afd4aed5fc
ntdll: Check for NULL attr in NtOpenKey (Coverity).
2009-12-15 16:09:11 +01:00
Alexandre Julliard
6509044087
ntdll: Search the whole filesystem under the starting directory when opening files by id.
2009-12-09 23:34:45 +01:00
Hans Leidekker
84bfbf2aa8
ntdll/tests: Free Unicode string before reuse.
2009-12-09 13:50:42 +01:00
Alexandre Julliard
70c20027a9
ntdll/tests: Avoid size_t in traces.
2009-12-09 12:19:48 +01:00
Huw Davies
af0bb4a141
ntdll: Only free the string if the test succeeded.
2009-12-08 12:37:24 +01:00
Hans Leidekker
fe8f5c2232
ntdll/tests: Fix a memory leak.
...
Found by Valgrind.
2009-12-08 12:37:17 +01:00
Alexandre Julliard
538c8bc5e8
ntdll/tests: Add tests for open directories with NtCreateFile and strange options.
2009-12-08 12:19:05 +01:00
Hans Leidekker
72e7e399d5
ntdll/tests: Fix a memory leak.
...
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Huw Davies
1cc0dd5c57
ntdll: Fix a few memory leaks in tests.
...
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Alexandre Julliard
3dd6c9a6fe
ntdll/tests: Fix a few test failures on Windows in the open by id test.
2009-12-04 14:34:56 +01:00
Alexandre Julliard
8115c6243b
ntdll/tests: Add some tests for opening files by file id.
2009-12-03 10:10:06 +01:00
Alexandre Julliard
7dc1c2af52
ntdll: Fix test failure on recent Windows versions.
2009-12-03 10:08:56 +01:00
Alexandre Julliard
84b309f309
ntdll/tests: Add tests for opening files with a root directory handle.
2009-12-01 17:38:44 +01:00
Henri Verbeet
64e6e956e5
ntdll/tests: Add some tests for FileAllInformation name information.
...
This is essentially a copy of test_file_name_information().
2009-12-01 13:15:36 +01:00
Henri Verbeet
893b338268
ntdll/tests: Add a FileNameInformation test with filesystem redirection.
2009-11-19 12:21:57 +01:00
Henri Verbeet
832aacd866
ntdll/tests: Disable filesystem redirection for test_file_name_information().
...
Otherwise we get the syswow64 directory instead on 64-bit Windows.
2009-11-19 12:21:49 +01:00
Detlef Riekenberg
447e224380
ntdll/tests: GetVolumePathnameW is not present before w2k.
2009-11-13 11:52:25 +01:00
Henri Verbeet
85d93d689e
ntdll: Fix the FileNameInformation info size.
2009-11-12 15:44:15 +01:00
Henri Verbeet
4422e67126
ntdll/tests: Add some tests for the NtQueryInformationFile() FileNameInformation class.
2009-11-12 15:44:10 +01:00
Huw Davies
95c525e21b
ntdll/tests: Fix spelling of succeeded.
2009-11-04 16:45:18 +01:00
Alexandre Julliard
aadf703fc0
ntdll: The meaning of the flag is inverted between RtlWow64EnableFsRedirection and RtlWow64EnableFsRedirectionEx.
2009-10-28 10:55:19 +01:00
Francois Gouget
9b89b85e5f
ntdll/tests: Fix compilation on systems that don't support nameless unions.
2009-10-19 14:45:15 +02:00
Ge van Geldorp
bc6f37ac00
ntdll/tests: Fix exception test failure on Win7.
2009-10-07 15:20:10 +02:00
Francois Gouget
7c5df85f51
ntdll/tests: Add a trailing '\n' to an ok() call.
2009-10-07 15:17:04 +02:00
Ge van Geldorp
9925991bf3
ntdll/tests: Fix atom tests on Win7.
2009-10-06 11:59:45 +02:00
Juan Lang
bfb4578356
server: A thread's affinity is restricted to the process affinity.
2009-10-01 11:33:33 +02:00
Juan Lang
24036fe13a
server: Setting a process's affinity sets all of its threads' affinities too.
2009-09-30 14:34:32 +02:00
Dan Kegel
ceb8577bab
ntdll: Refactor test_NtQueryDirectoryFile to be table driven, check DIRECTORY attribute.
2009-09-30 14:34:29 +02:00
Alexandre Julliard
2e8de49ee1
ntdll/tests: Retrieve the number of processors through GetSystemInfo.
2009-09-30 14:31:57 +02:00
Juan Lang
2e92c726aa
ntdll: Don't allow setting a zero thread affinity.
2009-09-29 13:29:43 +02:00
Juan Lang
c7b1423521
ntdll: Don't allow setting a zero process affinity.
2009-09-29 13:29:36 +02:00
Juan Lang
d9ce24e6cb
ntdll/tests: Add tests for process and thread affinity.
2009-09-29 13:29:28 +02:00
Dan Kegel
46187dd609
ntdll: Fix NtQueryInformationFile test failures on Vista Home Basic.
2009-09-25 13:51:03 +02:00
Dan Kegel
fa12f03976
ntdll: Add initial test for NtQueryDirectoryFile().
2009-09-25 13:50:54 +02:00
Paul Vriens
4e6db1e186
ntdll/tests: Fix some test failures on several platforms.
2009-09-11 17:00:59 +02:00
Dmitry Timoshkov
049bbe3f12
ntdll: RtlpNtQueryValueKey takes 5 parameters.
2009-09-11 12:16:37 +02:00
Dan Kegel
398a8ea1fe
ntdll: Add tests for NtQueryInformationFile.
2009-09-10 10:49:22 +02:00
Austin English
e88e2239aa
ntdll/tests: Fix a compiler warning on PowerPC.
2009-08-31 12:19:04 +02:00
Alexandre Julliard
86e4830040
ntdll/tests: Make sure buffer alignment is correct.
2009-08-26 11:52:56 +02:00
Ge van Geldorp
cf5e2938a9
ntdll/tests: Pass properly aligned buffers.
2009-08-25 10:23:42 +02:00
Ge van Geldorp
98fdb660be
ntdll/tests: Add acceptable status codes for Win7.
2009-08-24 16:41:31 +02:00
Ge van Geldorp
4bc7a3eb92
ntdll/tests: Fix info tests on Win7.
2009-08-24 16:41:26 +02:00
Mike Kaplinskiy
8c0eec2c6b
ntdll/tests: Test NtCancelIoFile(Ex).
2009-08-18 12:29:53 +02:00
Mike Kaplinskiy
af25949a51
ntdll: Implement NtCancelIoFileEx and fix NtCancelIoFile.
2009-08-18 12:29:27 +02:00
Michael Karcher
ca4c571818
ntdll: Add handing of MEM_EXECUTE_OPTION_PERMANENT.
2009-08-18 11:19:55 +02:00
Michael Karcher
9476071fd2
ntdll: Don't send EXCEPTION_EXECUTE_FAULT to Windows programs that didn't enable DEP.
2009-08-18 11:19:46 +02:00
Michael Karcher
7aa1f6c346
ntdll: Add ProcessExecuteFlags handling to NtQueryInformationProcess.
2009-08-18 11:17:44 +02:00
Michael Karcher
c3c712c17f
ntdll/tests: Implement tests for data execution prevention.
2009-08-14 11:27:23 +02:00
Mike Kaplinskiy
b9c3e9310a
ntdll/tests: Fix NtWriteFile checks.
2009-08-11 12:31:06 +02:00
Mike Kaplinskiy
ebc7c138e7
ntdll/tests: Test NtCancelIoFileEx, if present.
2009-08-10 13:10:37 +02:00
Francois Gouget
ac831d5ab5
ntdll/tests: Fix the trailing '\n' of a skip() call.
2009-06-03 11:25:58 +02:00
Alexandre Julliard
6c35e3f47c
ntdll: Add test cases for the returned frame value in RtlVirtualUnwind.
2009-05-20 13:33:32 +02:00
Alexandre Julliard
1d4747c35f
ntdll: Add support for some function epilogs in RtlVirtualUnwind.
2009-05-20 13:32:47 +02:00
Alexandre Julliard
fb819d6491
ntdll/tests: Add more tests for RtlVirtualUnwind.
2009-05-20 12:21:07 +02:00
Huw Davies
fd0e796919
ntdll/tests: Mark RtlUnicodeStringToInteger("", 16) as broken for nt4.
2009-05-19 16:17:57 +02:00
Alexandre Julliard
8c017aafbd
ntdll/tests: Added some test cases for RtlVirtualUnwind.
2009-05-18 12:11:53 +02:00
Francois Gouget
d6a9082dc4
ntdll/tests: Replace malloc() with HeapAlloc().
2009-05-13 12:45:36 +02:00
Alexandre Julliard
82fb611806
ntdll: Fix the LPC_MESSAGE structure definition for 64-bit.
2009-05-07 14:44:22 +02:00
Alexandre Julliard
b46be0be7d
winapi: Handle types should be treated as pointers.
2009-05-06 13:44:54 +02:00
Alexandre Julliard
7f9750550a
ntdll: Set the exception address to the program counter in RtlRaiseException.
2009-04-10 13:17:12 +02:00
Alexandre Julliard
c709adcf16
ntdll: Update the context on send_debug_event for any successful status.
2009-04-10 12:37:22 +02:00
Alexandre Julliard
b4a962bbb2
ntdll/tests: Add a missing \n.
2009-04-06 13:52:08 +02:00
Mikołaj Zalewski
9c9532265d
kernel32: Implement QueryFullProcessImageFileNameW.
2009-03-31 18:05:55 +02:00
Michael Stefaniuc
d2f6f56873
ntdll: Remove superfluous pointer casts.
2009-03-23 12:40:53 +01:00
Alexandre Julliard
44d2277acd
ntdll/tests: Create the server port before starting the client thread.
...
Print status values in hex.
2009-03-05 23:19:08 +01:00
Francois Gouget
630d92b947
ntdll/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-23 12:21:35 +01:00
Alexandre Julliard
c1a8484089
ntdll/tests: Don't pass uninitialized object attributes to symlink functions.
2009-02-17 12:46:44 +01:00
Francois Gouget
ede6196467
ntdll/tests: Remove WINAPI on static functions where not needed.
2009-02-12 17:53:35 +01:00
Alexandre Julliard
e887b39472
ntdll/tests: Add a couple of status values seen on Win2K3.
2009-01-29 22:08:54 +01:00
Alexandre Julliard
d637a552c0
ntdll/tests: Fix a long long format in a trace.
2009-01-08 13:05:38 +01:00
Alexandre Julliard
6500bb0e50
ntdll/tests: Avoid printing pointer differences in traces.
2009-01-08 13:02:23 +01:00
Francois Gouget
581e390115
winapi_test: The tests don't support WIN64 yet so disable them there.
2009-01-08 12:47:22 +01:00
Francois Gouget
411f5d22c0
winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong.
2009-01-08 12:46:39 +01:00
Francois Gouget
9f62c9b7a8
winapi_test: Fix TEST_FIELD() so it correctly tests the field size.
2009-01-08 12:44:49 +01:00
Francois Gouget
43c18c1321
winapi_test: FIELD_ALIGNMENT() is redundant so remove it.
2009-01-08 12:43:15 +01:00
Francois Gouget
2e668d2572
winapi_test: Updated so the generated tests work.
2009-01-08 12:42:12 +01:00
Henri Verbeet
0b511b9ad8
ntdll: Add a small test for FPU exceptions.
2009-01-05 12:34:46 +01:00
Alexandre Julliard
b84fda836e
ntdll/tests: Avoid long long printf formats in traces.
2009-01-03 20:25:19 +01:00
Alexandre Julliard
90541731aa
ntdll/tests: Fix pointer casting warnings on 64-bit.
2009-01-03 20:14:01 +01:00
Alexandre Julliard
6a548b1e9d
ntdll: Fix the various structures returned by NtQuerySystemInformation for 64-bit.
2009-01-03 14:55:32 +01:00
Alexandre Julliard
3cbf55cc1e
ntdll/tests: Skip large integer tests that crash on 64-bit Vista.
2009-01-03 14:55:32 +01:00
Francois Gouget
e9e8fbd0ef
ntdll/tests: Make rtlraiseexception_vectored_handler() static.
2008-12-12 11:42:23 +01:00
Alexandre Julliard
2e83689b77
ntdll/tests: Use the correct prototype for RtlAllocateHeap/RtlReAllocateHeap.
2008-12-04 12:14:17 +01:00
Paul Vriens
b27a1bbdc7
ntdll/tests: Fix a test failure on W2K.
2008-12-02 14:05:49 +01:00
Jeff Zaroyko
6c597bac2e
ntdll: Avoid NULL deref in RtlDeleteTimer.
2008-12-01 14:22:12 +01:00
Francois Gouget
9eb62d3f9d
ntdll: Remove an unneeded cast.
2008-12-01 12:57:32 +01:00
Francois Gouget
b0cf129c98
ntdll/tests: Remove a redundant 'if'.
2008-11-21 10:01:07 +01:00
Francois Gouget
500be1e8db
ntdll/tests: Test how NT(Set, Query)ValueKey() handle non-terminated strings.
2008-11-19 12:08:13 +01:00
Francois Gouget
d7d95ca27c
ntdll/tests: Fix typos in test_NtQueryValueKey().
2008-11-19 12:08:04 +01:00
Alexandre Julliard
af601ff2b5
ntdll/tests: Fixed more object manager tests on Vista.
2008-11-11 21:22:35 +01:00
Alexandre Julliard
f96670cb5f
ntdll: Add support for root directory in NtCreateFile for Win32 file objects.
2008-11-11 11:40:08 +01:00
Alexandre Julliard
66d893b0f9
ntdll/tests: Fix a couple of test failures on Vista.
2008-11-11 11:39:31 +01:00
Alexandre Julliard
85df734453
ntdll/tests: Fix the atom test on NT4.
2008-11-10 11:57:26 +01:00
Alexandre Julliard
0f9283437c
ntdll/tests: Fix a couple of tests on NT4.
2008-11-05 19:58:26 +01:00
Alexandre Julliard
7db820e900
ntdll: Add a few more tests for RtlIsDosDeviceName_U, fix some failures on Windows.
2008-10-29 15:22:06 +01:00
Aric Stewart
589d7eaa93
ntdll/tests: handle info behavior for vista and 2008 properly.
2008-10-23 15:16:32 +02:00
Aric Stewart
a226f6609f
ntdll: Implement SystemProcessorPerformanceInformation for Linux (/proc filesystems) and Mac OS X.
2008-10-20 13:56:58 +02:00
James Hawkins
a5684fdfb3
ntdll: Fix a couple failing tests in NT4.
2008-09-24 13:12:01 +02:00
Paul Vriens
a635a4ff41
kernel32/tests: Add a skip.
2008-09-23 12:23:52 +02:00
Paul Vriens
7988506091
kernel32/tests: Add a skip.
2008-09-23 12:23:48 +02:00
Paul Vriens
e9f5fbc419
ntdll/tests: Show that we are skipping tests.
2008-09-22 12:19:17 +02:00
Paul Vriens
1010768d8e
ntdll/tests: Show that we are skipping tests.
2008-09-22 12:19:10 +02:00
Paul Vriens
f812d30486
ntdll/tests: Use skip and add a FreeLibrary.
2008-09-22 12:18:30 +02:00
Alexandre Julliard
733693829a
ntdll/tests: Fix a few test failures on NT4.
2008-09-22 12:14:41 +02:00
Alexandre Julliard
42e6d94784
ntdll/tests: Fix a couple of tests failing on NT4.
2008-09-19 14:03:47 +02:00
Alexandre Julliard
c190bdde50
ntdll/tests: Clear the direction flag in the handler since Windows may not do it.
...
Add some comments to make it easier to identify failing tests.
2008-09-16 22:35:48 +02:00
Alexandre Julliard
a543896382
ntdll/tests: Fix the async I/O test on Vista.
2008-09-11 14:18:46 +02:00
Jeff Zaroyko
a2022c898a
ntdll: Add some tests for NtDeleteFile.
2008-09-03 14:21:44 +02:00
James Hawkins
b5812e0013
ntdll: Fix a failing test in NT4.
2008-09-03 14:21:43 +02:00
James Hawkins
f6a9514e96
ntdll: Fix a few failing tests in Vista.
2008-09-03 13:14:51 +02:00
Alexandre Julliard
45a0f45cdd
ntdll/tests: Fix a few more failures in the info test.
2008-08-27 14:19:23 +02:00
Alexandre Julliard
cf36931614
ntdll/tests: Handle a couple of failures on NT4.
2008-08-26 20:43:33 +02:00
Alexandre Julliard
fcdce5c6f3
ntdll/tests: Allow alternate results in the string tests to make them pass on Vista.
2008-08-26 12:07:43 +02:00
Alexandre Julliard
f7a8436e92
ntdll/tests: Allow alternate results in the info test to make it pass on Vista.
2008-08-26 12:07:42 +02:00
Alexandre Julliard
d1f8dd1549
ntdll/tests: Allow alternate results in the env test to make it pass on Vista.
2008-08-26 12:07:42 +02:00
Lei Zhang
ee60c49dd6
ntdll: Use our own implementation of atoi and atol.
2008-07-22 13:09:28 +02:00
Gerald Pfeifer
a44771c925
ntdll/tests: Use NTSTATUS instead of DWORD for status variables.
2008-07-16 20:09:59 +02:00
James Hawkins
3c969224ad
ntdll: Skip the byte swap test in win2k.
2008-07-02 12:20:31 +02:00
Peter Oberndorfer
9cd60e2024
ntdll: Add broken() to two test cases.
2008-07-02 11:49:52 +02:00
Zac Brown
8f3ae2011c
ntdll: Implement checking for control characters in RtlIsTextUnicode.
2008-07-01 12:38:34 +02:00
Zac Brown
e24e7e7852
ntdll/tests: Add tests for (Rtl)IsTextUnicode to verify that IS_TEXT_UNICODE_CONTROLS and IS_TEXT_UNICODE_REVERSE_CONTROLS are not mutually exclusive.
2008-06-25 20:23:00 +02:00
Huw Davies
a3d7155947
ntdll: Free the correct buffer in the test.
2008-06-20 11:19:19 +02:00
Paul Vriens
f75e4bf0de
ntdll/tests: Free memory after use.
2008-06-10 17:43:06 +02:00
Alexandre Julliard
e02fa19013
ntdll/tests: Fix a few tests on Vista.
2008-06-10 11:33:51 +02:00
Zac Brown
b483b68013
ntdll/tests: Actually verify right bytes received in aio test.
2008-06-03 11:17:36 +02:00
Jeremy White
6868691af9
ntdll/tests: Only test the readcount for a read below 0x10000 if the return code indicates a partial copy result.
2008-05-21 20:15:42 +02:00
Alexandre Julliard
bb4119e1fd
ntdll/tests: Make sure to clear the DF flag on return from the exception.
2008-05-19 23:19:24 +02:00
Paul Vriens
b65c1d47eb
ntdll/tests: Skip test when we don't have enough rights.
2008-05-19 16:11:22 +02:00
Paul Vriens
446243b1d9
ntdll/tests: Free library after use.
2008-05-19 16:11:17 +02:00
James Hawkins
2470b0b316
ntdll: Fix a test that fails in win2k3.
2008-05-14 22:04:12 +02:00
James Hawkins
cfce5be4ce
ntdll: Fix a few tests that fail in win2k3.
2008-05-14 21:51:39 +02:00
James Hawkins
c72f318aaa
ntdll: Fix a few failing tests in win2k3.
2008-05-13 21:08:51 +02:00
Maarten Lankhorst
b574c11582
ntdll: Fix file test to not free memory allocated on the stack.
2008-05-07 20:23:15 +02:00
Maarten Lankhorst
9c509234bc
ntdll: Fix some exception tests to pass on Windows.
2008-05-07 20:23:09 +02:00
James Hawkins
b779aac8cf
ntdll: Fix two tests that fail on all NT platforms.
2008-05-02 11:25:07 +02:00
Austin English
aab8fae59a
Spelling fixes.
2008-04-21 14:25:05 +02:00
James Hawkins
bfaed5e7fa
ntdll: Fix a few tests that fail in win2k.
2008-04-11 11:16:24 +02:00
Austin English
05faae7b5a
Spelling fixes.
2008-04-09 12:07:39 +02:00
Alexandre Julliard
902aef85c0
ntdll: Add test cases for the direction flag.
2008-03-20 14:27:35 +01:00
Paul Vriens
af7172c186
ntdll/tests: ProcessImageFileName is not supported before XP.
2008-03-10 11:22:49 +01:00
Francois Gouget
369f4ccdfe
ntdll/tests: Don't use 0x55/0xaa to avoid any confusion when running with +heap.
2008-03-05 12:19:25 +01:00
James Hawkins
00394486df
janitorial: Remove links to any microsoft site.
2008-03-01 12:03:59 +01:00
Alexandre Julliard
05c7174909
tests: Add a helper routine to wait for a child process and propagate its result correctly.
2008-02-07 12:56:00 +01:00
Francois Gouget
f6fab295f3
Fix spelling error in the generated conformance test files.
2008-01-16 12:46:18 +01:00
Rob Shearman
526cb8c375
ntdll: Fix NtQueryValueKey for KeyValueBasicInformation.
...
Add some tests for this.
2008-01-07 21:17:10 +01:00
Rob Shearman
e958a570e5
ntdll: Fix the Data and Name returned by NtQueryValueKey for KeyValueFullInformation.
2008-01-07 21:17:10 +01:00
Rob Shearman
edab3a6ff1
ntdll: Add tests for the data and name returned by NtQueryValueKey.
2008-01-07 21:17:10 +01:00
Rob Shearman
ec3448ff8c
ntdll: Set the DataLength field of the information field in NtQueryValueKey to how much data should be returned, not what was actually returned.
2007-12-31 17:29:47 +01:00
Rob Shearman
05fbee5e2d
ntdll: Add some tests for NtQueryValueKey.
2007-12-31 17:29:44 +01:00
Andrey Turkin
3afbee5218
server: Store I/O completion information in async structure.
...
This is to allow completions to be sent on handle close. Also this can
be helpful for AcceptEx/TransmitFile implementation.
2007-12-18 14:25:43 +01:00
Andrey Turkin
f1dcf4bf3a
server: I/O completion ports can only be used with overlapped I/O.
2007-12-17 11:49:32 +01:00
Francois Gouget
10e738f236
ntdll/tests: Fix compilation on systems that don't support nameless unions.
2007-11-20 16:44:58 +01:00
Rob Shearman
bf2a35b78d
server: Change the get_dll_info server request to allow retrieving the image file name of a process.
...
Implement NtQueryInformationProcess(ProcessImageFileName).
2007-11-20 14:29:09 +01:00
Andrey Turkin
7a9210fa85
server: Pass Information field from async I/O APCs.
2007-11-15 14:24:50 +01:00
Andrey Turkin
793453f768
ntdll: Make async i/o functions generate completion messages.
2007-11-15 14:23:37 +01:00
Andrey Turkin
074281ff6c
ntdll: Add some I/O completion tests.
2007-11-15 14:18:41 +01:00
Peter Beutner
db28edc790
ntdll: Better trap exception handling.
2007-11-12 14:14:28 +01:00
Rob Shearman
6c8ed9efbe
ntdll: Initialise the part of the buffer to be written to a file in the file test.
2007-11-12 12:55:13 +01:00
Dmitry Timoshkov
4009de3662
ntdll: Use symbolic names when possible.
2007-10-24 14:12:04 +02:00
Lionel Debroux
8f49ea21d4
ntdll/tests: Fix memory leaks (found by Smatch) and fix a message.
2007-10-22 15:58:41 +02:00
Mikolaj Zalewski
370b881fcd
ntdll: Avoid setting IS_TEXT_UNICODE_NUL_BYTES for the last byte of an ANSI string.
2007-10-17 13:42:14 +02:00
Mikolaj Zalewski
323f09b022
ntdll: Add some tests for RtlIsTextUnicode.
2007-10-17 13:42:07 +02:00
Alexandre Julliard
088e27c849
ntdll/tests: Skip the debugger test if the child process is not loaded at the right address.
2007-09-20 17:01:31 +02:00
Paul Vriens
efc001a21f
ntdll/tests: Fix typos.
2007-08-22 12:18:59 +02:00
Paul Vriens
d1b5f309f5
ntdll/tests: Use skip instead of trace.
2007-08-21 13:00:53 +02:00
Paul Vriens
9783ce360e
ntdll/tests: Do GetModuleHandle only once and add a few skip's.
2007-08-21 13:00:50 +02:00
Paul Vriens
8d80b1323a
ntdll/tests: Make tests run again on win95.
2007-08-14 12:46:43 +02:00
Alexandre Julliard
5817e36634
ntdll: Improved the stub behavior of NtQuerySystemInformation(SystemModuleInformation).
2007-06-19 16:58:42 +02:00
Francois Gouget
e4a98928ab
ntdll/tests: Remove an inappropriate const qualifier.
2007-05-29 13:46:27 +02:00
Peter Oberndorfer
eab168cf9e
ntdll: Fix up instruction pointer in context inside raise_exception.
2007-05-23 12:50:57 +02:00
Peter Oberndorfer
849a0fcf97
ntdll: Use correct prototype for thread function.
2007-05-11 11:20:42 +02:00
Michael Stefaniuc
5f62da109e
janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call.
2007-04-25 12:26:07 +02:00
Alexandre Julliard
a6ecf0a7a5
ntdll: Add some test cases for asynchronous I/O.
2007-04-09 12:23:13 +02:00
Paul Vriens
f5678a4d38
ntdll/tests: Use GetModuleHandle and skip.
2007-04-05 11:56:18 +02:00
Peter Beutner
86cbbaf930
ntdll: Remove one exception test.
2007-04-05 10:53:36 +02:00
Rob Shearman
20171ac200
ntdll: Pass the correct value to NtClose in the tests.
2007-04-04 12:39:09 +02:00
Francois Gouget
d9e8a0f63e
Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll.
2007-03-28 12:36:13 +02:00
Alexandre Julliard
cdb833bf33
ntdll: Fixed some exception codes and parameters.
2007-03-14 12:02:43 +01:00
Alexandre Julliard
0963b84603
ntdll/tests: Mask reserved bits before testing dr7.
...
Also some spelling fixes.
2007-03-14 12:01:12 +01:00
Stefan Huehner
4d1d01f266
Mark several functions as static.
2007-03-13 13:35:12 +01:00
Dmitry Timoshkov
4b2ba3e113
ntdll: Make the error test pass under XP.
2007-03-12 12:08:37 +01:00
Peter Beutner
f09f9ef5e1
ntdll: Testcase for handling SIMD exceptions.
2007-03-09 11:53:16 +01:00
Peter Oberndorfer
1bfbcefb60
ntdll: Make exception test not hang when creating process fails.
2007-03-05 12:06:56 +01:00
Jeff Latimer
8b2a86a892
ntdll: Test object attributes in NtCreateMailslotFile.
2007-02-28 13:31:26 +01:00
Jeff Latimer
74db5a192e
ntdll: Set default timeout in NtCreateMailslotFile if parameter is NULL.
2007-02-28 13:29:53 +01:00
Jeff Latimer
cb489f7a25
ntdll: Check for passing a NULL handle to NtCreateMailslotFile and add a test.
2007-02-28 13:29:16 +01:00
Jeff Latimer
2775db3b79
ntdll: Framework for NtCreateMailslotFile tests.
2007-02-28 13:28:58 +01:00
Peter Oberndorfer
ce6f221db8
ntdll: Extend debugger tests.
...
Shows that second chance handler gets the same modified context as the exception handlers.
2007-02-27 13:15:09 +01:00
Peter Oberndorfer
647d0d9b88
ntdll/tests: Add a debugger around the exceptions.
...
Shows that the first chance handler gets a unmodified context.
Shows that changing the context has no effect when exception is not handled by debugger.
2007-02-27 13:14:39 +01:00
Peter Oberndorfer
a30bc5808e
ntdll: Add a vectored exception handling test to the existing RtlRaiseException test.
...
Show that context changes in vectored handler also affect stack handlers.
Show that vectored handlers also get the changed context.Eip value.
2007-02-16 12:30:54 +01:00
Marcus Meissner
fa32d53810
ntdll/tests: Fixed WCHAR overflow.
2007-02-13 17:15:24 +01:00
Peter Oberndorfer
b54cecab40
ntdll: Test that shows RtlRaiseException with EXCEPTION_BREAKPOINT mangles Eip of context.
2007-02-13 12:19:32 +01:00
Paul Vriens
cbf9fde47a
ntdll: Extra check for ObjectAttributes (Coverity).
2007-01-22 12:09:17 +01:00
Francois Gouget
fb6569a720
ntdll/tests: Use '%u' to print GetLastError().
2007-01-18 12:55:21 +01:00
Paul Vriens
06a14de18b
ntdll/tests: Skip some tests on Windows Vista.
2007-01-10 11:58:36 +01:00
Alexandre Julliard
e4bd0d889e
ntdll/tests: Fix exception test for CPUs that do segment limit checks differently.
2007-01-10 11:58:16 +01:00
Alexandre Julliard
56407742b5
ntdll/tests: Don't bother testing the port functions if creating the port failed.
2007-01-10 11:30:47 +01:00
Michael Stefaniuc
22684cc767
janitorial: Remove stray '\' at end of lines.
2007-01-09 12:04:26 +01:00
Francois Gouget
97422b1576
ntdll/tests: Replace an '#if 0' with an 'if (0)'.
...
Fix the code so it compiles without warnings.
2007-01-08 12:09:02 +01:00
Rob Shearman
40b39b06d4
ntdll: Fix some test failures of RtlGUIDFromString and RtlStringFromGUID
...
by setting the length correctly and by doing a case-insentive compare
on the GUID string that is returned.
2007-01-04 21:13:28 +01:00
Rob Shearman
5398e17d0a
ntdll: RtlInitUnicodeString on a string too long to fit in a UNICODE_STRING
...
should set the it to have the maximum possible length and size rather
than a modulus of the actual length.
Fix test failures for RtlInitUnicodeString on Windows XP upwards.
2007-01-04 21:13:17 +01:00
Andrew Talbot
9cf1579aad
ntdll/tests: Cast-qual warning fix.
2006-12-13 11:49:01 +01:00
Paul Vriens
fd15939497
ntdll/tests: Fix typo.
2006-12-07 11:23:50 +01:00
Peter Beutner
6f88a7b7d4
ntdll: Fix single stepping over popf instruction.
2006-12-04 12:23:20 +01:00
Peter Beutner
6c9af2bdcb
ntdll: Add more exception tests.
2006-12-01 12:28:24 +01:00
Peter Beutner
b7393f29a4
ntdll: Run exception tests from executable memory.
2006-12-01 12:28:05 +01:00
Peter Beutner
94b548fd62
ntdll: Simplify exception tests.
...
- create helper function to setup exception frame and run the test
- lookup function ptr only once
- make "code data" const
- reuse global exception counter
- change alignment test to use stack address to generate an alignment exception. This avoids
the need to pass an argument, so it can use the created helper function.
(as the stack is (at least) 4 byte aligned, this works equally well)
2006-12-01 12:27:25 +01:00
Paul Vriens
b75f36595f
ntdll: Remove unused variables.
2006-11-21 12:39:29 +01:00
Paul Vriens
d2218eb998
ntdll: Use intended variable.
2006-11-21 12:39:23 +01:00
Paul Vriens
8896cb8e37
ntdll: Remove tests that crash on XP and W2K3.
2006-11-21 12:39:16 +01:00
Paul Vriens
b3df6da417
ntdll: Remove unused variables.
2006-11-21 12:39:09 +01:00
Paul Vriens
409b7e3edf
ntdll: Remove tests that crash on XP and W2K3.
2006-11-21 12:39:02 +01:00
Michael Stefaniuc
8ddaf6cc21
ntdll/tests: Win64 printf format warning fixes.
2006-10-14 20:17:34 +02:00
Ge van Geldorp
d642e11438
winapi_test: Regenerate tests.
...
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Marcus Meissner
ef5f360163
ntdll: More tests for exception handling.
...
- Check if we really set the debug register.
- Added unaligned access exception check.
- Added single step exception check.
2006-10-03 20:20:40 +02:00
Francois Gouget
17aa2c82d2
Add missing '\n's to ok() calls.
2006-10-03 15:56:16 +02:00
Dmitry Timoshkov
66da242bfe
ntdll: Make test_debug_regs() print the actual Dr7 value it got.
2006-10-03 15:56:07 +02:00
Peter Oberndorfer
78f6032264
ntdll: Add a test for NtReadVirtualMemory.
2006-10-02 21:37:22 +02:00
Marcus Meissner
3a6d53e5d0
ntdll: Added debug registers test case.
2006-10-02 14:25:17 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Paul Vriens
e94df274ce
ntdll: Fixed conditional expression (Coverity).
2006-09-20 20:03:27 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Stefan Leichter
97f85e497a
ntdll/tests: Print 64bit integers as two 32 bit integers.
2006-09-08 12:47:11 +02:00
Stefan Leichter
0e592aa9bd
ntdll/tests: Print 64bit integers as two 32 bit integers.
2006-08-23 12:00:15 +02:00
Paul Vriens
54f18be44d
ntdll: Fix failing test on windows.
2006-08-18 20:56:19 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Paul Vriens
b872d83115
ntdll/tests: Added some NULL testing.
2006-07-10 11:53:31 +02:00
Paul Vriens
8a42a8c11a
ntdll: Fix return codes for NtCreateKey (with tests).
2006-06-30 20:43:41 +02:00
Vitaliy Margolen
27e3b82d49
ntdll: Fix 2 failing test on native. Change Wine accordingly.
2006-06-27 11:50:08 +02:00
Alexandre Julliard
cba2c84741
ntdll/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:19 +02:00
Alexandre Julliard
8e5eaaad1b
ntdll/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:57:40 +02:00
Alexandre Julliard
23f9e358ad
Tests should not use wine/unicode.h.
2006-05-24 18:05:09 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Paul Vriens
c2a2687dd8
ntdll/tests: Don't fail if a process is not available.
2006-05-17 10:42:04 +02:00
Stefan Leichter
5996ef7f8e
ntdll: Fix endless loop in port test for users without admin rights.
2006-05-15 11:47:32 +02:00
James Hawkins
86a32784e2
ntdll: Add initial tests for the NT Ports API.
2006-05-10 19:37:10 +02:00
Hans Leidekker
ec6a5175b4
ntdll: The closing brace of a guid string is at index 37.
2006-04-10 12:22:16 +02:00
Aric Stewart
d7187d79bd
ntdll: gcc 2.95 compile fixes.
2006-02-10 14:54:04 +01:00
Eric Pouech
e66e227dbe
Fixes for missing prototypes warnings.
2006-02-06 13:13:28 +01:00
Mike McCormack
bad5f92f54
ntdll: Add some more tests for NtNotifyChangeDirectoryFile.
2006-02-06 11:59:01 +01:00
Eric Pouech
dccd41a88a
kernel: Fixed regression in atom handling.
...
Added proper tests (local & global functions).
2006-02-06 11:26:57 +01:00
Eric Pouech
e0cffe355f
Fix a couple of bugs spotted by valgrind.
2006-01-27 16:18:05 +01:00