summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/fileconflict001.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-16 22:38:02 +0200
committerDan McGee <dan@archlinux.org>2011-07-03 20:44:45 +0200
commita2995f586e492e0d2cb85e7e9ebb5f3857891465 (patch)
tree1c7234cabaa1f36a80364ca1e6e6e2f69fc3c50a /test/pacman/tests/fileconflict001.py
parent06840f14b465d9db53646ab0cbc2d4b3526bd255 (diff)
downloadpacman-a2995f586e492e0d2cb85e7e9ebb5f3857891465.tar.gz
pacman-a2995f586e492e0d2cb85e7e9ebb5f3857891465.tar.xz
pactest: add a few more checks to fileconflict checks
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/fileconflict001.py')
-rw-r--r--test/pacman/tests/fileconflict001.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pacman/tests/fileconflict001.py b/test/pacman/tests/fileconflict001.py
index 8c13911c..dec61512 100644
--- a/test/pacman/tests/fileconflict001.py
+++ b/test/pacman/tests/fileconflict001.py
@@ -2,6 +2,7 @@ self.description = "Fileconflict with symlinks"
lp = pmpkg("dummy")
lp.files = ["dir/realdir/",
+ "dir/realdir/realfile",
"dir/symdir -> realdir"]
self.addpkg2db("local", lp)
@@ -18,5 +19,7 @@ self.args = "-U %s" % " ".join([p.filename() for p in p1, p2])
self.addrule("PACMAN_RETCODE=1")
self.addrule("!PKG_EXIST=pkg1")
self.addrule("!PKG_EXIST=pkg2")
+self.addrule("FILE_EXIST=dir/realdir/realfile")
+self.addrule("!FILE_EXIST=dir/realdir/file")
self.expectfailure = True