diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-02-28 16:13:34 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-03-03 02:25:55 +0100 |
commit | 0475b2501ae72b25a207fd9c1af479f5f7e0e877 (patch) | |
tree | a49b9afcf4612a0b7fe6001b5a6194d404afc538 | |
parent | 0b0fe51a2cb1b5d8b5031b4299547a4e5fd47c20 (diff) | |
download | pacman-0475b2501ae72b25a207fd9c1af479f5f7e0e877.tar.gz pacman-0475b2501ae72b25a207fd9c1af479f5f7e0e877.tar.xz |
pactest: add prefix to temporary directory
This makes cleaning up /tmp after several --keep-root runs much easier.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
-rwxr-xr-x | test/pacman/pactest.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |