summaryrefslogtreecommitdiffstats
path: root/test/pacman/pmtest.py
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2015-10-17 02:28:29 +0200
committerAllan McRae <allan@archlinux.org>2015-10-18 02:59:23 +0200
commit4ceb1c5bf91dea2453d9b888138c40e4f97d408d (patch)
treecf0d661dce4c54bdd1e096d91026db6e8e46718b /test/pacman/pmtest.py
parent60ebee7a6e1984f14ea3f88159c28fa9b99d7f5c (diff)
downloadpacman-4ceb1c5bf91dea2453d9b888138c40e4f97d408d.tar.gz
pacman-4ceb1c5bf91dea2453d9b888138c40e4f97d408d.tar.xz
util.py: return the created path
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/pmtest.py')
-rw-r--r--test/pacman/pmtest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py
index d48c03f1..7774a7bf 100644
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -180,8 +180,7 @@ class pmtest(object):
vprint(" Populating file system")
for f in self.filesystem:
vprint("\t%s" % f)
- util.mkfile(self.root, f, f)
- path = os.path.join(self.root, f)
+ path = util.mkfile(self.root, f, f)
if os.path.isfile(path):
os.utime(path, (355, 355))
for pkg in self.db["local"].pkgs: