VirtualBox

Ignore:
Timestamp:
Jan 17, 2018 8:28:16 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120337
Message:

RTSystemShutdown/win: More reliable power off, I hope.

Location:
trunk/src/VBox/ValidationKit/testdriver
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/tst-txsclient.py

    r70611 r70615  
    7575    fReversedSetup  = False;
    7676    fReboot         = False;
     77    fShutdown       = False;
    7778    fStdTests       = True;
    7879
     
    9394        elif asArgs[i] == '--reboot':
    9495            fReboot   = True;
     96            fShutdown = False;
     97            fStdTests = False;
     98            i = i + 1;
     99        elif asArgs[i] == '--shutdown':
     100            fShutdown = True;
     101            fReboot   = False;
    95102            fStdTests = False;
    96103            i = i + 1;
    97104        elif asArgs[i] == '--help':
    98             print('tst-txsclient.py [--hostname <addr|name>] [--port <num>] [--timeout <cMS>] [--reboot] [--reversed-setup]');
     105            print('tst-txsclient.py [--hostname <addr|name>] [--port <num>] [--timeout <cMS>] '
     106                  '[--reboot|--shutdown] [--reversed-setup]');
    99107            return 0;
    100108        else:
     
    276284            rc = oSession.syncReboot();
    277285            print('%s: REBOOT() -> %s' % (boolRes(rc), rc));
     286        elif fShutdown:
     287            print('TESTING: syncShutdown...');
     288            rc = oSession.syncShutdown();
     289            print('%s: SHUTDOWN() -> %s' % (boolRes(rc), rc));
     290
    278291
    279292    if g_cFailures != 0:
  • trunk/src/VBox/ValidationKit/testdriver/txsclient.py

    r70611 r70615  
    13811381
    13821382    #
    1383     # Public methods - file system
     1383    # Public methods - system
    13841384    #
    13851385
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