Package: autopkgtest Version: 5.42 When working with autopkgtest, it is sometimes useful to be able to retain the tmp directory for inspection.
For example, we're currently using the autopkgtest virt protocol to drive a package builder chroot for tag2upload. We use autopkgtest-virt-null standin in our own tests. But autopkgtest-virt-null insists on changing to a directory in /tmp, and then deleting that directory afterwards. We can set TMPDIR to force the directory to be somewhere we can retain, which is nice, but there doesn't seem to be a way to get autopkgtest-virt-null to retain the contents somewhere rather than deleting them. An option to skip the call to `VirtSubproc.downtmp_remove()` would suffice, I think. We want our tests to run even on very old releases of Debian, so in the meantime I will do something unprincipled, to make this work with existing autopkgtest-virt-null. It would be nice if we could have a feature for this before the unwrranted assumptions become false - then we can probe for the new feature, and only do crimes with old autopkgtest where there's not a better way. Thanks, Ian. -- Ian Jackson <ijack...@chiark.greenend.org.uk> These opinions are my own. Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.