~ubuntu-branches/ubuntu/wily/autopkgtest/wily

« back to all changes in this revision

Viewing changes to virt-subproc/adt-virt-null

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2015-05-13 14:45:43 UTC
  • mfrom: (110.2.17 sid)
  • Revision ID: package-import@ubuntu.com-20150513144543-3d7nhxjqlnqzdmau
Tags: 3.14.1
* Go back to using the backgrounded reboot command as we had before 3.14.
  Just calling "reboot" is prone to hangs and timeouts in case reboot is too
  fast and shuts down our communication channel.
* Fix --override-control option in adt-run(1). (LP: #1453495)
* Fail with an error if --override-control file does not exist.
  (LP: #1453503)
* ssh-setup/snappy: Add -b/--show-boot option to direct boot and console
  messages to stdout. (LP: #1453154)
* adt-virt-qemu.1: Document --show-boot option.
* Add test case for using a @ command line include file for a virt runner.
* Strip leading and trailing space from argument lines in '@' included
  command line argument files. (LP: #1453498)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
import sys
26
26
import os
27
 
import argparse
28
27
 
29
28
try:
30
29
    our_base = os.environ['AUTOPKGTEST_BASE'] + '/lib'
33
32
sys.path.insert(1, our_base)
34
33
 
35
34
import VirtSubproc
 
35
from adt_run_args import ArgumentParser
36
36
import adtlog
37
37
 
38
38
 
42
42
 
43
43
 
44
44
def parse_args():
45
 
    parser = argparse.ArgumentParser(fromfile_prefix_chars='@')
 
45
    parser = ArgumentParser()
46
46
    parser.add_argument('-d', '--debug', action='store_true',
47
47
                        help='Enable debugging output')
48
48
    args = parser.parse_args()