diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-10-17 02:28:28 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-10-18 02:59:23 +0200 |
commit | 60ebee7a6e1984f14ea3f88159c28fa9b99d7f5c (patch) | |
tree | 220668553e6b48b2cbb8278dbf4b0bc65c4964b6 /test/pacman/pmtest.py | |
parent | 7000bf919812f3ed56969a86b4aebf90e98ec6a3 (diff) | |
download | pacman-60ebee7a6e1984f14ea3f88159c28fa9b99d7f5c.tar.gz pacman-60ebee7a6e1984f14ea3f88159c28fa9b99d7f5c.tar.xz |
pactest: use pacman --hookdir option
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/pmtest.py')
-rw-r--r-- | test/pacman/pmtest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py index c7bda9c1..d48c03f1 100644 --- a/test/pacman/pmtest.py +++ b/test/pacman/pmtest.py @@ -43,6 +43,7 @@ class pmtest(object): "--config", self.configfile(), "--root", self.rootdir(), "--dbpath", self.dbdir(), + "--hookdir", self.hookdir(), "--cachedir", self.cachedir()] def __str__(self): @@ -306,4 +307,7 @@ class pmtest(object): def cachedir(self): return os.path.join(self.root, util.PM_CACHEDIR) + def hookdir(self): + return os.path.join(self.root, util.PM_HOOKDIR) + # vim: set ts=4 sw=4 et: |