-autopkgtest (0.8.1feisty1~iwj) feisty-updates; urgency=low
+autopkgtest (0.8.1feisty1~iwj2) feisty-updates; urgency=low
* Fix fd handling to work around Python's habit of closing files
you specify in subprocess.Popen.
certain hangs during error situations.
* Xen cleanup script runs dmsetup info / dmsetup remove several times
with some sleeps because xm destroy is not properly instantaneous.
+ * Fix handling of pre-built source trees.
+ * Fix cleanup handling not to delete tmpdir before resetting testbed's
+ apt.
- -- Ian Jackson <ian@davenant.greenend.org.uk> Fri, 27 Apr 2007 14:38:49 +0100
+ -- Ian Jackson <ian@davenant.greenend.org.uk> Fri, 27 Apr 2007 16:06:15 +0100
autopkgtest (0.8.1) feisty; urgency=low
use_dir = testbed.scratch
return RelativeOutputFile(idstr, use_dir, idstr)
- t.act.work.write(True)
+ if hasattr(t.act,'work'): t.act.work.write(True)
+ tree.read(True)
af = RelativeInputFile(t.what, tree, t.path)
so = stdouterr('stdout')
tf = af.read(True)
tmpdir = None
- tree.read(True)
rc = testbed.execute('testchmod-'+t.what, ['chmod','+x','--',tf])
if rc: bomb('failed to chmod +x %s' % tf)
def cleanup():
global trace_stream
try:
- rm_ec = 0
- if opts.tmpdir is None and tmpdir is not None:
- rmtree('tmpdir', tmpdir)
if testbed is not None:
testbed.reset_apt()
testbed.stop()
- if rm_ec: bomb('rm -rf -- %s failed, code %d' % (tmpdir, ec))
+ if opts.tmpdir is None and tmpdir is not None:
+ rmtree('tmpdir', tmpdir)
if trace_stream is not None:
trace_stream.close()
trace_stream = None