summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChirantan Ekbote <chirantan.ekbote@gmail.com>2013-01-31 22:24:23 -0500
committerAllan McRae <allan@archlinux.org>2013-02-07 10:48:11 +1000
commit2d832adf08ea428a956cf9e070a347fc01fb67de (patch)
treeb1836abd3d4affbc0ead58cb207c02b1e323587b
parent2f137fdd39d1441f961757ccb1f1e6f6670ac72a (diff)
downloadpacman-2d832adf08ea428a956cf9e070a347fc01fb67de.tar.xz
Remove conditional checks for fakechroot from test files
We don't want test files to do any checks for fakechroot since we will print a warning if it is not found. Signed-off-by: Chirantan Ekbote <chirantan.ekbote@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--test/pacman/tests/scriptlet001.py4
-rw-r--r--test/pacman/tests/scriptlet002.py4
2 files changed, 0 insertions, 8 deletions
diff --git a/test/pacman/tests/scriptlet001.py b/test/pacman/tests/scriptlet001.py
index 6f702eb8..a8350b18 100644
--- a/test/pacman/tests/scriptlet001.py
+++ b/test/pacman/tests/scriptlet001.py
@@ -11,7 +11,3 @@ self.args = "-U %s" % p1.filename()
self.addrule("PACMAN_RETCODE=0")
self.addrule("FILE_EXIST=pre_install")
self.addrule("FILE_EXIST=post_install")
-
-fakechroot = util.which("fakechroot")
-if not fakechroot:
- self.expectfailure = True
diff --git a/test/pacman/tests/scriptlet002.py b/test/pacman/tests/scriptlet002.py
index 907f4199..7d58d033 100644
--- a/test/pacman/tests/scriptlet002.py
+++ b/test/pacman/tests/scriptlet002.py
@@ -11,7 +11,3 @@ self.args = "-R %s" % p1.name
self.addrule("PACMAN_RETCODE=0")
self.addrule("FILE_EXIST=pre_remove")
self.addrule("FILE_EXIST=post_remove")
-
-fakechroot = util.which("fakechroot")
-if not fakechroot:
- self.expectfailure = True