Fix the unit test not to remove /tmp Upstream-commit: ff911d5f34f20d34821f10ad158c6ddb0ade8a66 Component: engine