* WIP userv service.
* WIP print-execute-command command for virtualisation servers.
+ * Fix syntax errors introduced by print-execute-command etc.
* Do not demand vg or distro information for initscript to work.
* autopkgtest-xenlvm now Recommends: lvm2 and debootstrap.
* pass count= to dd for erasure when lvm_erasebase=true.
spurious warning from the lvm tools).
* autopkgtest Suggests curl (adt-testreport-onepackage needs it).
- -- Ian Jackson <ian@davenant.greenend.org.uk> Mon, 2 Jul 2007 15:59:53 +0100
+ --
autopkgtest (0.8.2feisty1~iwj) feisty-updates; urgency=low
if not downtmp: bomb("`print-execute-command' when not open")
if hasattr(caller,'hook_callerexeccmd'):
(cl,kvl) = caller.hook_callerexeccmd()
- else
+ else:
cl = down
kvl = ['auxverb']
return ','.join(map(urllib.quote, cl)) + kvl
if not opts.userv:
if opts.gain_root is None: gain_root = []
else: gain_root = opts.gain_root.split()
- with_testbed = gain_root + ['adt-xenlvm-with-testbed'] +
+ with_testbed = (gain_root + ['adt-xenlvm-with-testbed'] +
xargs_direct + xlargs +
- ['--','sh','-ec','echo y; exec cat']
- vsp.down = gain_root + ['adt-xenlvm-on-testbed'] +
- xargs_direct + xlargs + ['--']
+ ['--','sh','-ec','echo y; exec cat'])
+ vsp.down = (gain_root + ['adt-xenlvm-on-testbed'] +
+ xargs_direct + xlargs + ['--'])
else:
if opts.gain_root:
pe('--userv and --gain-root are not compatible')
- basis = ['userv'] + xargs_userv + xlargs +
- ['root','adt-xenlvm-testbed']
+ basis = (['userv'] + xargs_userv + xlargs +
+ ['root','adt-xenlvm-testbed'])
get_down = subprocess.Popen(basis + ['pon0'],
stdin=file('/dev/null'), stdout=subprocess.PIPE,
stderr=None)
(pon0, _) = get_down.communicate()
if get_down.returncode:
vsp.bomb('failed to check userv service provision'
- ' and subcommand details (code=%d) %
+ ' and subcommand details (code=%d)' %
get_down.returncode)
vsp.down = pon0.split('\0')
pauses = opts.pause.split(',')