VirtualBox

Ignore:
Timestamp:
Feb 16, 2023 12:54:57 AM (22 months ago)
Author:
vboxsync
Message:

ValKit/tdAddBasic1.py: Use getGuestWinDir() instead of hardcoding C:\Windows\ paths.

File:
1 edited

Legend:

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

    r98596 r98599  
    434434        aasLogFiles.append((sGuestAddsDir + 'install.log',           'ga-install-%s.log' % (oTestVm.sVmName,),));
    435435        aasLogFiles.append((sGuestAddsDir + 'install_drivers.log',   'ga-install_drivers-%s.log' % (oTestVm.sVmName,),));
    436         aasLogFiles.append(('C:\\Windows\\setupapi.log',             'ga-setupapi-%s.log' % (oTestVm.sVmName,),));
     436        aasLogFiles.append((oTestVm.pathJoin(self.getGuestWinDir(oTestVm), 'setupapi.log'),
     437                            'ga-setupapi-%s.log' % (oTestVm.sVmName,),));
    437438
    438439        # Note: setupapi.dev.log only is available since Windows 2000.
    439440        if fHaveSetupApiDevLog:
    440             aasLogFiles.append(('C:\\Windows\\setupapi.dev.log',     'ga-setupapi.dev-%s.log' % (oTestVm.sVmName,),));
     441            aasLogFiles.append((oTestVm.pathJoin(self.getGuestWinDir(oTestVm), 'setupapi.dev.log'),
     442                                'ga-setupapi.dev-%s.log' % (oTestVm.sVmName,),));
    441443
    442444        #
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