VirtualBox

Changeset 95936 in vbox for trunk/src


Ignore:
Timestamp:
Jul 29, 2022 8:32:38 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152691
Message:

Validation Kit/tdAddBasic1.py: Only force installing the timestamp CA on Windows guests >= Windows Server 2016. This otherwise would sabotage testing older guests where the Guest Additions installer should care of this automatically. bugref:8691

File:
1 edited

Legend:

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

    r95776 r95936  
    409409        asArgs = [ sExe, '/S', '/l', '/with_autologon' ];
    410410
     411        # Determine if we need to force installing the legacy timestamp CA to make testing succeed.
     412        # Note: Don't force installing when the Guest Additions installer should do this automatically,
     413        #       i.e, only force it for Windows Server 2016 and up.
     414        fForceInstallTimeStampCA = False;
     415        if self.fpApiVer >= 6.1 \
     416           and oTestVm.getNonCanonicalGuestOsType() \
     417              in [ 'Windows2016', 'Windows2019', 'Windows2022', 'Windows11' ]:
     418              fForceInstallTimeStampCA = True;
     419
    411420        # As we don't have a console command line to parse for the Guest Additions installer (only a message box) and
    412421        # unknown / unsupported parameters get ignored with silent installs anyway, we safely can add the following parameter(s)
    413422        # even if older Guest Addition installers might not support those.
    414         if self.fpApiVer >= 6.1:
     423        if fForceInstallTimeStampCA:
    415424            asArgs.extend([ '/install_timestamp_ca' ]);
    416425
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