[reprotest] 04/04: build: Name temporary directories after reprotest not autopkgtest

Ximin Luo infinity0 at debian.org
Thu Oct 26 22:01:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository reprotest.

commit 3efb86f640852b19a74578ee93d8dc3ed9c00265
Author: Ximin Luo <infinity0 at debian.org>
Date:   Thu Oct 26 23:54:07 2017 +0200

    build: Name temporary directories after reprotest not autopkgtest
---
 reprotest/build.py           | 2 +-
 reprotest/lib/VirtSubproc.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/reprotest/build.py b/reprotest/build.py
index 50ea0e3..c9b796c 100644
--- a/reprotest/build.py
+++ b/reprotest/build.py
@@ -570,7 +570,7 @@ def print_sudoers(spec):
 
     user, group = current_user_group()
     a = "[a-zA-Z0-9]"
-    b = "/tmp/autopkgtest.{0}{0}{0}{0}{0}{0}".format(a)
+    b = "/tmp/reprotest.{0}{0}{0}{0}{0}{0}".format(a)
     bx = os.path.join(b, "build-experiment-[1-9]")
     variables = {
         "user": user,
diff --git a/reprotest/lib/VirtSubproc.py b/reprotest/lib/VirtSubproc.py
index ff1ef28..d1c6465 100644
--- a/reprotest/lib/VirtSubproc.py
+++ b/reprotest/lib/VirtSubproc.py
@@ -278,7 +278,7 @@ def downtmp_mktemp(path):
                    downp=True)
         return path
     else:
-        d = check_exec(['mktemp', '--directory', '--tmpdir', 'autopkgtest.XXXXXX'],
+        d = check_exec(['mktemp', '--directory', '--tmpdir', 'reprotest.XXXXXX'],
                        downp=True, outp=True)
         check_exec(['chmod', '1777', d], downp=True)
         return d

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git



More information about the Reproducible-commits mailing list