Git Product home page Git Product logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
The test that is failing is supposed to test that, in the case msxml is not 
available, the function CheckSystemRequirements() returns a specific error. The 
test environment tries to simulate this condition by redirecting the registry 
HKLM hive so that looking up the COM classes defined by msxml would fail. For 
some reason, in this case, the assumption break. It looks like the test has 
succeeded. It may be a bug in the code itself, which can be traced into the 
debugger, or may be that for some reason, msxml is activated somehow despite 
the registry redirection.

Original comment by [email protected] on 29 Aug 2012 at 10:51

from omaha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
My guess is that this unit test isn't being run from an account with 
administrative privileges (or from an elevated command prompt).  If you try to 
run it as a normal user, you won't have permission to redirect HKLM.

Original comment by [email protected] on 30 Aug 2012 at 12:44

from omaha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Hammer was run from a command prompt as administrator

Original comment by [email protected] on 30 Aug 2012 at 1:12

from omaha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Thanks for the quick replies, by the way.
I believe I ran the script from a regular command prompt and another as 
administrator and obtained the same results.

Original comment by [email protected] on 30 Aug 2012 at 1:13

from omaha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Not sure if this is relevant, but when running run_unit_tests.py, there are a 
couple other tests that fail as well:
[ RUN      ] OmahaCustomizationGoopdateComInterfaceTest.TypeLib
C:\omaha/testing/omaha_customization_test.h(71): error: 
::LoadTypeLib(omaha_dll_path, &type_lib_) failed with error 0x80029c4a

[ RUN      ] OmahaCustomizationTest.IsInternalUser
common\omaha_customization_unittest.cc(379): error: Value of: 
ConfigManager::Instance()->IsInternalUser()
  Actual: false
Expected: true
[  FAILED  ] OmahaCustomizationTest.IsInternalUser (1 ms)


The full output is attached. There are failures from 5 different tests.

Original comment by [email protected] on 30 Aug 2012 at 4:00

Attachments:

from omaha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
Also, I do have a Registry Key at HKEY_LOCAL_MACHINE\Software\Google\UpdateDev.
It is called "TestSource" with value "ossdev." 

Note: I have also tried with the value "dev" and have also run this test by 
building a non GoogleUpdate version where the registry key was at 
HKML\Software\OmahaCompanyName\UpdateDev, and got the same results.

Again, not sure if this is entirely related to the previous case. 

Original comment by [email protected] on 30 Aug 2012 at 4:04

from omaha.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 12, 2024
I have the same problem.And build omaha with hammer as administrator would not 
solve this issue. using the omaha-src-r110.zip. any ideas? kindly help

Original comment by [email protected] on 1 Aug 2013 at 3:27

from omaha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.