Changes since 0.5: mktemp does not use a file pattern anymore. That file pattern had the effect that all temporary files had the same name: /tmp/pkg_regress.