diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-03-02 23:26:56 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-06-03 13:33:47 +1000 |
commit | 0c41663c7b5a9d73ea49c20b74149d12f0fcd26c (patch) | |
tree | de9a9eeb6510be5992a5c8534029b72d8c7922d0 /test/pacman/tests/fileconflict023.py | |
parent | 9ca423b981c897c7d3894c5b394c23d786e4ba37 (diff) | |
download | 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/fileconflict023.py')
-rw-r--r-- | test/pacman/tests/fileconflict023.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/pacman/tests/fileconflict023.py b/test/pacman/tests/fileconflict023.py index ce72087b..9685c0dd 100644 --- a/test/pacman/tests/fileconflict023.py +++ b/test/pacman/tests/fileconflict023.py @@ -1,4 +1,5 @@ self.description = "File conflict between package with symlink and package with real path resolved by removal" +# Note: this situation means the filesystem and local db are out of sync self.filesystem = ["usr/", "usr/lib/", "lib -> usr/lib/"] @@ -13,6 +14,8 @@ self.addpkg2db("sync", sp1) self.args = "-S %s --ask=4" % sp1.name -self.addrule("PACMAN_RETCODE=0") -self.addrule("!PKG_EXIST=foo") -self.addrule("PKG_EXIST=bar") +self.addrule("PACMAN_RETCODE=1") +self.addrule("PKG_EXIST=foo") +self.addrule("!PKG_EXIST=bar") + +self.expectfailure = True |