VirtualBox

Ignore:
Timestamp:
Feb 15, 2023 10:58:00 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155882
Message:

ValKit/tdAdd*.py: There is no reg.exe on W2K either. Skip shared folders for NT4 and NT3x.

Location:
trunk/src/VBox/ValidationKit/tests/additions
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py

    r98592 r98596  
    340340        """ Sets a system-wide environment variable on the guest. Only supports Windows guests so far. """
    341341        _ = oSession;
    342         if oTestVm.sKind not in ('WindowsNT4',):
     342        if oTestVm.sKind not in ('WindowsNT4', 'Windows2000',):
    343343            sPathRegExe   = oTestVm.pathJoin(self.getGuestSystemDir(oTestVm), 'reg.exe');
    344344            self.txsRunTest(oTxsSession, ('Set env var \"%s\"' % (sName,)),
     
    398398        ## @todo !!! HACK ALERT !!! Add the value directly into the testing source image. Later.
    399399        fHaveSetupApiDevLog = False;
    400         if oTestVm.sKind not in ('WindowsNT4',):
     400        if oTestVm.sKind not in ('WindowsNT4', 'Windows2000',):
    401401            sRegExe = oTestVm.pathJoin(self.getGuestSystemDir(oTestVm), 'reg.exe');
    402402            fHaveSetupApiDevLog = self.txsRunTest(oTxsSession, 'Enabling setupapi.dev.log', 30 * 1000,
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py

    r98270 r98596  
    17111711
    17121712            fRestartVBoxService = False;
    1713             if oTestVm.isWindows():
     1713            if oTestVm.isWindows() and oTestVm.sKind not in ('WindowsNT4', 'Windows2000',):
    17141714                sPathRegExe         = oTestVm.pathJoin(self.oTstDrv.getGuestSystemDir(oTestVm), 'reg.exe');
    17151715                sImagePath          = '%s -vvvv --logfile %s' % (self.sPathVBoxServiceExeGst, sPathLogFile);
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddSharedFolders1.py

    r98103 r98596  
    201201
    202202        #
    203         # Skip the test if before 6.0
     203        # Skip the test if before 6.0 or if the VM is NT4 or older.
    204204        #
    205205        if self.oTstDrv.fpApiVer < 6.0:
    206206            reporter.log('Requires 6.0 or later (for now)');
     207            return (None, oTxsSession);
     208        if oTestVm.isWindows() and oTestVm.sKind in ('WindowsNT3x', 'WindowsNT4', 'Windows2000',):
     209            reporter.log('No shared folders on %s' % (oTestVm.sKind,));
    207210            return (None, oTxsSession);
    208211
Note: See TracChangeset for help on using the changeset viewer.

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