summaryrefslogtreecommitdiffstats
path: root/pactest/tests/fileconflict001.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-07-25 04:42:27 +0200
committerDan McGee <dan@archlinux.org>2008-07-25 05:16:29 +0200
commit9f57921467ea368be96ffc09c8c35e9acfcc41ed (patch)
tree4e043260b7d26f13d99c210c89d562a14011add9 /pactest/tests/fileconflict001.py
parent7bc34ccde3b8860a4aaf8418996a72e8cc4dfae5 (diff)
downloadpacman-9f57921467ea368be96ffc09c8c35e9acfcc41ed.tar.gz
pacman-9f57921467ea368be96ffc09c8c35e9acfcc41ed.tar.xz
pactest: add test.expectfailure option for tests
This will enable us to mark tests we know currently fail to differentiate them from those that we know should pass. Regressions should be easier to spot this way. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/fileconflict001.py')
-rw-r--r--pactest/tests/fileconflict001.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pactest/tests/fileconflict001.py b/pactest/tests/fileconflict001.py
index 4c2069ee..8c13911c 100644
--- a/pactest/tests/fileconflict001.py
+++ b/pactest/tests/fileconflict001.py
@@ -18,3 +18,5 @@ 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.expectfailure = True