Commit Graph

196 Commits

Author SHA1 Message Date
Paul Vriens 1a2aa7ca3d advapi32: Make sure it's a real cleanup. 2006-10-02 21:38:04 +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
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Robert Reif c339d8e272 advapi32: Fix lsa tests on windows98. 2006-09-07 10:21:57 +02:00
Andrew Talbot 0eebab8652 advapi32/tests: Cast-qual warnings fix. 2006-08-28 11:36:58 +02:00
Robert Reif d46c9e2ec2 advapi32: Fix security tests to not crash on windows. 2006-08-28 11:36:02 +02:00
Robert Reif f0085e6376 advapi32: Fix LookupAccountSid and tests to pass on windows and wine. 2006-08-26 18:55:12 +02:00
Robert Reif ee32bd99dd advapi32: Fix lsa tests. 2006-08-26 18:55:04 +02:00
Robert Reif 58ce495599 advapi32: Output information on failed LsaQueryInformationPolicy tests. 2006-08-24 14:09:14 +02:00
Robert Reif ca80c55ae8 advapi32: LookupAccountSid buffer size query tests. 2006-08-21 12:07:54 +02:00
Robert Reif e8e501f44b advapi32: Fix test_LookupAccountSid to work on win9x. 2006-08-18 11:35:22 +02:00
Robert Shearman bc590e87a6 advapi32: Add tests for RegQueryValueEx to show that it sets the data
size to 0 when a buffer isn't present and that it sets the type to
REG_NONE on Win9x.
2006-08-16 17:02:04 +02:00
Robert Reif 6abfc027d5 advapi32: Fix LsaQueryInformationPolicy test to pass on NT4. 2006-08-16 12:41:17 +02:00
Robert Reif 70071af6ad advapi32: Try again with different access mask if LsaOpenPolicy fails with STATUS_ACCESS_DENIED. 2006-08-14 20:17:09 +02:00
Robert Reif aea864ce61 advapi32: Add more LookupAccountSid tests. 2006-08-14 11:46:13 +02:00
Andrew Talbot b843ce55c7 advapi32/tests: Write-strings warnings fix. 2006-08-14 11:44:52 +02:00
Robert Reif 08484ba498 advapi32: Add more SID tests. 2006-08-04 20:44:52 +02:00
Robert Reif dabf5e88bf advapi32: Check returned data from LsaQueryInformationPolicy. 2006-08-02 22:05:03 +02:00
Robert Reif c6e513dc72 advapi32: More LsaQueryInformationPolicy tests. 2006-08-01 18:34:35 +02:00
Robert Reif 76fe25241d advapi32: Add string sid tests. 2006-07-31 11:15:21 +02:00
Robert Reif accfc06c7a advapi32: Print more info about failed test. 2006-07-31 11:15:21 +02:00
Robert Reif a2cdb3ba9a advapi32: Partial LookupAccountSid implementation. 2006-07-21 13:25:29 +02:00
Andrew Talbot 902b2a70a8 advapi32/tests: Write-strings warnings fix. 2006-07-18 11:09:38 +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
James Hawkins ce58c3589c advapi32: Add tests for LookupAccountSid. 2006-07-07 13:26:55 +02:00
Ivan Leo 81745f1c41 advapi32/tests: Fix a crash when ConvertSidToStringSidA isn't available. 2006-06-26 13:38:02 +02:00
Alexandre Julliard 290ddd8e38 advapi32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:56:18 +02:00
Saulius Krasuckas 072c11dc49 advapi32: Test RegSetValueEx[AW] for setting some sequential strings as one. 2006-06-10 12:41:27 +02:00
Mike McCormack 473ad39dcb advapi32: Implement and test SystemFunction031. 2006-06-05 13:51:00 +02:00
Mike McCormack 546b84c0c5 advapi32: Implement and test SystemFunction030. 2006-06-05 13:50:48 +02:00
Saulius Krasuckas 67e6040c2d advapi32: Enable some tests and extend them to succeed on XP and 2003 SP1. 2006-06-02 20:43:50 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Saulius Krasuckas 7b156bf170 advapi32: Skip token attribute testing if OpenProcessToken() is not implemented. 2006-05-22 11:38:28 +02:00
Saulius Krasuckas 18af854764 advapi32: Make test loadable on win9x. 2006-05-22 11:36:54 +02:00
Mike McCormack eb1b39760e advapi32: Implement and test SystemFunction026+027. 2006-05-22 11:34:59 +02:00
Mike McCormack c3a1e8731e advapi32: Implement and test SystemFunction011. 2006-05-22 11:34:47 +02:00
Mike McCormack 500384b0ea advapi32: Test and implement SystemFunction024/025. 2006-05-22 11:34:35 +02:00
Mike McCormack 6fad2cbaff advapi32: Implement and test SystemFunction(012-023). 2006-05-22 11:33:36 +02:00
Mike McCormack b4899f0712 advapi32: Implement and test SystemFunction010. 2006-05-22 11:33:05 +02:00
Mike McCormack 64ae8285cd advapi32: Implement and test SystemFunction009. 2006-05-22 11:32:52 +02:00
Mike McCormack 9b3d8a3527 advapi32: Implement and test SystemFunction005. 2006-05-16 12:36:28 +02:00
Robert Shearman a33a63712f advapi32: Add tests for getting the groups, user and privileges of a token. 2006-05-15 14:05:49 +02:00
Mike McCormack dcfb0f44d1 advapi32: Implement and test SystemFunction004. 2006-05-15 14:05:22 +02:00
Mike McCormack 09fc7e046a advapi32: Implement and test SystemFunction003. 2006-05-15 14:03:56 +02:00
Mike McCormack 50ed147db0 advapi32: Implement and test SystemFunction002 (DES decrypt). 2006-05-15 14:03:33 +02:00
Mike McCormack 9e37591d20 advapi32: Implement and test SystemFunction032 (arc4 encryption). 2006-05-10 19:36:54 +02:00
Mike McCormack 72822c0fea advapi32: Implement and test SystemFunction007. 2006-05-10 19:27:39 +02:00
Mike McCormack 6969cab5ee advapi32: Implement and test SystemFunction001. 2006-05-10 19:27:19 +02:00
Mike McCormack 4f520dbd06 advapi32: Implement and test SystemFunction008. 2006-05-10 19:26:54 +02:00
Robert Reif 1ed98cc7eb advapi32: Add some lsa tests. 2006-05-05 17:38:53 +02:00
Alexandre Julliard e97a1afbab advapi32: Fixed compiler warnings. 2006-03-28 14:43:18 +02:00
Thomas Weidenmueller ae8b835d85 advapi32: Fixed building TRUSTEEs with objects.
Fill the TRUSTEE structure properly in BuildTrusteeWithObjectsAndName
and BuildTrusteeWithObjectsAndSid, including regression tests.
2006-03-28 12:34:43 +02:00
Rein Klazes 62b69d6486 advapi32: RegCreateKeyEx fix.
On Win9x,ME RegCreateKeyEx ignores the backslash character if the
subkey begins with one. With a regression test.
2005-12-08 13:49:02 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Saulius Krasuckas 5cd099290c Win98 fails another way when user isn't logged in. 2005-11-08 19:57:41 +00:00
Saulius Krasuckas 9d519093f6 - RegConnectRegistryA fails on Win9x when Remote Registry Service is
not installed (WinReg.DLL is missing).
- Test "\\" prefixed computer names too.
2005-11-04 11:15:59 +00:00
Ivan Leo Puoti 7230a90821 Delete a temp file. 2005-10-27 18:29:07 +00:00
Vincent Béron bd6f176df9 Remove some Unicode->ANSI cross-calls in crypt functions. 2005-09-28 11:59:04 +00:00
Rein Klazes c16e70587a - Set the LastError in OpenSCManager in case of errors;
- Accept machine names without a '\\' prefix in OpenSCManager and
  RegConnectRegistry.
- Add a regression test for that.
2005-09-15 09:31:05 +00:00
Mike McCormack 280bcf6e4a Fix gcc 4.0 warnings. 2005-08-27 10:00:38 +00:00
Felix Nawothnig 7bc3a38ba7 Rewrote the RegGetValue tests for REG_SZ / REG_EXPAND_SZ. 2005-07-18 10:30:51 +00:00
Felix Nawothnig 305ce2f641 Fix registry tests on Win95. 2005-07-18 09:08:24 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Mike McCormack d7b9a23afd gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-06 19:08:05 +00:00
Felix Nawothnig 694f789956 Added unit tests for RegGetValue. 2005-07-03 11:19:03 +00:00
James Hawkins 9f96664dc4 - Fix calculation of generic pointers.
- Minor cleanups.
2005-06-29 20:14:16 +00:00
Alexandre Julliard ccd5cdad18 Mark as todo a couple of tests that currently fail. 2005-06-28 13:52:01 +00:00
Robert Shearman 1731df4ca0 Test ACCESS_SYSTEM_SECURITY AccessCheck behaviour. 2005-06-27 19:48:35 +00:00
Felix Nawothnig 68ee20e36d Skip ACL tests on Win9x. 2005-06-22 12:00:01 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Robert Shearman 8cb3f92e53 - All versions of Windows ignore the access rights of the passed in
parent handle to RegCreateKey(Ex).
- Add a test that shows this.
2005-06-16 20:34:34 +00:00
Mike McCormack 74b37280b3 Silence some -Wmissing-declarations warnings. 2005-06-13 10:00:37 +00:00
Robert Shearman 44246e47ec Fix registry test for Win9x by skipping a section that fails, but
succeeds on NT.
2005-06-12 10:42:13 +00:00
Robert Shearman 472852bef3 Added test for AccessCheck. 2005-06-09 10:03:11 +00:00
Mike McCormack 6b44c2a56c Fix some warnings. 2005-06-09 09:48:36 +00:00
Stefan Leichter 21be2f734e Excluded tests crashing on NT4 from compiling. 2005-04-23 19:05:03 +00:00
James Hawkins 8516d1969d Set the backup/restore privilege. 2005-04-19 12:00:04 +00:00
James Hawkins fa18fad2b0 Remove two unnecessary traces.
Break up one test into two.
2005-04-19 10:24:06 +00:00
James Hawkins 89f67d7b09 Add RegUnLoadKey test. 2005-04-19 09:47:10 +00:00
Jakob Eriksson 163f5ab923 Fail gracefully on permission denied. 2005-04-18 09:52:40 +00:00
James Hawkins a9d5de8414 RegDeleteKey fails if the lpSubKey param is NULL. 2005-04-16 10:49:10 +00:00
Jakob Eriksson 9117e1c463 ERROR_PRIVILEGE_NOT_HELD can be returned for NT4. 2005-04-15 16:12:28 +00:00
Jakob Eriksson 7fb79e34a0 Win98 can return ERROR_CALL_NOT_IMPLEMENTED. 2005-04-15 16:12:14 +00:00
James Hawkins 2a8f7962ff Pass an empty string instead of NULL to RegDeleteKey to delete hKey. 2005-04-13 14:40:58 +00:00
Michael Jung 44cb0906da Make crypt functions more robust in case of incorrect api usage. 2005-04-11 12:55:36 +00:00
James Hawkins eb9250bf12 Create the 'Test' value in a temporary subkey to avoid conflicts
between tests.
2005-04-11 12:52:32 +00:00
Stefan Leichter fdd2c7651a Fix GetFileSecurityA test on Win98. 2005-03-31 10:07:11 +00:00
Michael Jung 976bdc4faa Added a test for advapi32, which documents a crash in wine triggered
by incorrect api usage.
2005-03-29 11:32:13 +00:00
Stefan Leichter 25102d6b25 Fix GetFileSecurityW for not existing directories/files. 2005-03-29 11:31:18 +00:00
Stefan Leichter 3548b87f75 Added a test for GetFileSecurityA. 2005-03-28 10:00:59 +00:00
James Hawkins 1ef206de77 Replace a trace with a previously removed test. 2005-03-25 10:26:18 +00:00
Jakob Eriksson 6be7d751a0 Fix some Windows 95 issues. 2005-03-24 19:02:38 +00:00
James Hawkins 34955ea696 Add RegSaveKey, RegLoadKey tests. 2005-03-23 11:59:06 +00:00
Jakob Eriksson 30af06f788 Fix for NT4 behaviour. 2005-03-22 16:39:02 +00:00
Jakob Eriksson 21a0c3b4fc CryptAcquireContextA() can return NTE_FAIL on Windows 98. 2005-03-15 19:32:38 +00:00
Alexandre Julliard 3fe9aa2054 Avoid accessing an uninitialized string in the failure case. 2005-03-14 17:20:58 +00:00
Jakob Eriksson 0667f919ab Account for permissions on Win2k. 2005-03-05 10:47:13 +00:00
James Hawkins e8d1e2f745 Fix RegOpen/CloseKey. 2005-02-25 16:52:10 +00:00