VirtualBox

Changeset 95042 in vbox


Ignore:
Timestamp:
May 19, 2022 11:10:22 AM (3 years ago)
Author:
vboxsync
Message:

Validation Kit/unit tests: Check if oTestvm is not None when running unit tests locally and not in a test VM. bugref:10195

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/unittests/tdUnitTest1.py

    r95021 r95042  
    981981            fModeExe  = 0;
    982982            fModeDeps = 0;
    983             if not oTestVm.isWindows(): ## @todo NT4 does not like the chmod. Investigate this!
     983            if  not oTestVm \
     984            or (oTestVm and not oTestVm.isWindows()): ## @todo NT4 does not like the chmod. Investigate this!
    984985                fModeExe  = 0o755;
    985986                fModeDeps = 0o644;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette