osquery-1/tests/unit
Stefano Bonicatti e7fde8ad8e Fix wrong error code returned when querying the Windows registry (#5621)
Calling GetLastError() will not return the error code for the Windows registry APIs,
since they return a LSTATUS value which already the error code.

This also fixes the RegistryTablesTest.test_registry_non_existing_key
test case which was incorrectly expecting success when querying
for a non-existent registry key.

Ported from https://github.com/osql/osql/pull/50
2019-07-01 22:23:02 +02:00
..
config/plugins Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
core Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
events/windows Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
tables/system Fix wrong error code returned when querying the Windows registry (#5621) 2019-07-01 22:23:02 +02:00