From: Ian Jackson Date: Mon, 2 Jul 2007 16:16:24 +0000 (+0100) Subject: print-execute-command works now X-Git-Tag: converted-from-bzr~46^2~8 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5f913994190d6ff9c012f55b2e0247497d1c84e1;p=autopkgtest.git print-execute-command works now --- diff --git a/debian/changelog b/debian/changelog index 21d1a07..2cf9dee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,7 @@ autopkgtest (0.9.0~iwj) unstable; urgency=low * WIP userv service. - * WIP print-execute-command command for virtualisation servers. - * Fix syntax errors introduced by print-execute-command etc. + * New print-execute-command command for virtualisation servers. * 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. diff --git a/virt-subproc/VirtSubproc.py b/virt-subproc/VirtSubproc.py index b53c381..bbe0521 100644 --- a/virt-subproc/VirtSubproc.py +++ b/virt-subproc/VirtSubproc.py @@ -84,8 +84,8 @@ def cmd_print_execute_command(c, ce): (cl,kvl) = caller.hook_callerexeccmd() else: cl = down - kvl = ['auxverb'] - return ','.join(map(urllib.quote, cl)) + kvl + kvl = ['shstring'] + return [','.join(map(urllib.quote, cl))] + kvl def preexecfn(): caller.hook_forked_inchild()