chiark / gitweb /
Truncate files when writing them (!); fix message not to have spurious \; reset signa...
[autopkgtest.git] / virt-subproc / adt-virt-xenlvm
index a6c386d2d54b06e5b73f90094da7d1ad796ba03d..dc9795d3112a0003ac346c330a98a99476ba895f 100755 (executable)
@@ -3,7 +3,7 @@
 # adt-virt-xenlvm 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
@@ -103,7 +103,7 @@ def do_close():
        withholder.stdout.close()
        rc = withholder.wait()
        withholder = None
-       if rc: vsp.bomb("with-testbed failed when closing/resetting,"
+       if rc: vsp.bomb("with-testbed failed when closing/reverting,"
                        " code %d" % rc)
 
 def hook_forked_inchild():
@@ -116,8 +116,8 @@ def hook_open():
        do_open()
        return downtmp
 
-def hook_reset():
-       check_pause('reset')
+def hook_revert():
+       check_pause('revert')
        do_close()
        do_open()