summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/symlink001.py
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-03-03 05:26:56 +0100
committerAllan McRae <allan@archlinux.org>2013-06-03 05:33:47 +0200
commit0c41663c7b5a9d73ea49c20b74149d12f0fcd26c (patch)
treede9a9eeb6510be5992a5c8534029b72d8c7922d0 /test/pacman/tests/symlink001.py
parent9ca423b981c897c7d3894c5b394c23d786e4ba37 (diff)
downloadpacman-0c41663c7b5a9d73ea49c20b74149d12f0fcd26c.tar.gz
pacman-0c41663c7b5a9d73ea49c20b74149d12f0fcd26c.tar.xz
update tests for symlink support removal
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/symlink001.py')
-rw-r--r--test/pacman/tests/symlink001.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/pacman/tests/symlink001.py b/test/pacman/tests/symlink001.py
index cbf71ccc..f88d0ae7 100644
--- a/test/pacman/tests/symlink001.py
+++ b/test/pacman/tests/symlink001.py
@@ -11,10 +11,11 @@ self.addpkg(p)
self.args = "-U %s" % p.filename()
-self.addrule("PACMAN_RETCODE=0")
-self.addrule("PKG_EXIST=pkg1")
-self.addrule("FILE_EXIST=dir/symdir/tmp")
-self.addrule("FILE_EXIST=dir/realdir/tmp")
-self.addrule("FILE_TYPE=dir/symdir/tmp|file")
+self.addrule("PACMAN_RETCODE=1")
+self.addrule("!PKG_EXIST=pkg1")
+self.addrule("!FILE_EXIST=dir/symdir/tmp")
+self.addrule("!FILE_EXIST=dir/realdir/tmp")
self.addrule("FILE_TYPE=dir/symdir|link")
self.addrule("FILE_TYPE=dir/realdir|dir")
+
+self.expectfailure = True