mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -05:00
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>
This commit is contained in:
parent
0b0fe51a2c
commit
0475b2501a
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user