https://github.com/osquery/osquery logo
#windows
Title
# windows
l

lvferdi

01/04/2019, 8:37 PM
Copy code
[ RUN      ] FileOpsTests.test_safe_permissions
c:\users\hxm563\osquery\osquery\filesystem\tests\fileops_tests.cpp(604): error: Value of: status.ok()
  Actual: true
Expected: false
c:\users\hxm563\osquery\osquery\filesystem\tests\fileops_tests.cpp(605): error: Expected equality of these values:
  1
  status.getCode()
    Which is: 0
[  FAILED  ] FileOpsTests.test_safe_permissions (38 ms)
t

thor

01/04/2019, 10:14 PM
This is typically because the shell you're testing osquery with isn't running as Administrator
t

TonyC

01/04/2019, 11:26 PM
I get the same errors. I run as Administrator
l

lvferdi

01/05/2019, 5:56 PM
I was admin for sure
Sorry for the delayed response
I’m running it from a git bash window
3 Views