chiark / gitweb /
TODO
[autopkgtest.git] / virt-subproc / adt-virt-chroot
index ffcc39b6dfc7ea057d62c56fc172aa4001e85e3e..5d5f56f750bf4f86701ff3e970185a45f2a54e89 100755 (executable)
@@ -3,7 +3,7 @@
 # adt-virt-chroot is part of autopkgtest
 # autopkgtest is a tool for testing Debian binary packages
 #
-# autopkgtest is Copyright (C) 2006 Canonical Ltd.
+# autopkgtest is Copyright (C) 2006-2007 Canonical Ltd.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -69,15 +69,13 @@ def parse_args():
 def hook_open():
        global downtmp
        vsp.execute('true', downp=True)
-       downtmp = vsp.execute('mktemp -t -d', downp=True, outp=True)
-       return downtmp
-
-def hook_stop():
-       vsp.execute('rm -rf --', c[1:2])
-       os.mkdir(c[1])
+       return None
 
 def hook_cleanup():
-       vsp.execute('rm -rf --', [downtmp], downp=True)
+       pass
+
+def hook_forked_inchild():
+       pass
 
 def hook_capabilities():
        return capabilities