From 0475b2501ae72b25a207fd9c1af479f5f7e0e877 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Fri, 28 Feb 2014 10:13:34 -0500 Subject: pactest: add prefix to temporary directory This makes cleaning up /tmp after several --keep-root runs much easier. Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- test/pacman/pactest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pacman/pactest.py b/test/pacman/pactest.py index fe146711..d80076e2 100755 --- a/test/pacman/pactest.py +++ b/test/pacman/pactest.py @@ -84,7 +84,7 @@ if __name__ == "__main__": sys.exit(1) # instantiate env and parser objects - root_path = tempfile.mkdtemp() + root_path = tempfile.mkdtemp(prefix='pactest-') env = pmenv.pmenv(root=root_path) opt_parser = create_parser() (opts, args) = opt_parser.parse_args() -- cgit v1.2.3-70-g09d2