VirtualBox

Changeset 79228 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jun 19, 2019 6:15:12 AM (6 years ago)
Author:
vboxsync
Message:

tdAddGuestCtrl.py: 5.2 adjustments. bugref:9151 bugref:9320

File:
1 edited

Legend:

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

    r79215 r79228  
    27932793            [ tdTestDirCreate(sDirectory = '' ), tdTestResultFailure() ],
    27942794            # More unusual stuff.
    2795             [ tdTestDirCreate(sDirectory = oTestVm.pathJoin('..', '..') ), tdTestResultFailure() ],
    27962795            [ tdTestDirCreate(sDirectory = oTestVm.pathJoin('..', '.') ), tdTestResultFailure() ],
    27972796        ];
     2797        if True: #self.oTstDrv.fpApiVer > 5.2:
     2798            atTests.extend([
     2799                [ tdTestDirCreate(sDirectory = oTestVm.pathJoin('..', '..') ), tdTestResultFailure() ],
     2800                [ tdTestDirCreate(sDirectory = '..' ), tdTestResultFailure() ],
     2801                [ tdTestDirCreate(sDirectory = '../' ), tdTestResultFailure() ],
     2802                [ tdTestDirCreate(sDirectory = '../../' ), tdTestResultFailure() ],
     2803            ]);
     2804
    27982805        if oTestVm.isWindows() or oTestVm.isOS2():
    27992806            atTests.extend([
    2800                 [ tdTestDirCreate(sDirectory = '..' ), tdTestResultFailure() ],
    2801                 [ tdTestDirCreate(sDirectory = '../' ), tdTestResultFailure() ],
    2802                 [ tdTestDirCreate(sDirectory = '../..' ), tdTestResultFailure() ],
    2803                 [ tdTestDirCreate(sDirectory = '../../' ), tdTestResultFailure() ],
    28042807                [ tdTestDirCreate(sDirectory = 'C:\\' ), tdTestResultFailure() ],
    28052808                [ tdTestDirCreate(sDirectory = 'C:\\..' ), tdTestResultFailure() ],
     
    28142817        else:
    28152818            atTests.extend([
    2816                 [ tdTestDirCreate(sDirectory = '../' ), tdTestResultFailure() ],
    2817                 [ tdTestDirCreate(sDirectory = '../../' ), tdTestResultFailure() ],
    28182819                [ tdTestDirCreate(sDirectory = '/' ), tdTestResultFailure() ],
    28192820                [ tdTestDirCreate(sDirectory = '/..' ), tdTestResultFailure() ],
     
    28632864            fRc = oCurTest.closeSession(fIsError = True) and fRc;
    28642865            if fRc is False:
    2865                 reporter.error('Test #%d failed' % (i,));
    2866                 break;
     2866                fRc = reporter.error('Test #%d failed' % (i,));
    28672867
    28682868        return (fRc, oTxsSession);
     
    38973897              tdTestResultSuccess() ],
    38983898        ]);
    3899         if self.oTstDrv.fpApiVer >= 5.2:
     3899        if self.oTstDrv.fpApiVer > 5.2:
    39003900            # Copy into a directory.
    39013901            atTests.extend([
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