diff options
author | Chirantan Ekbote <chirantan.ekbote@gmail.com> | 2013-01-31 22:24:23 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-02-07 10:48:11 +1000 |
commit | 2d832adf08ea428a956cf9e070a347fc01fb67de (patch) | |
tree | b1836abd3d4affbc0ead58cb207c02b1e323587b /test | |
parent | 2f137fdd39d1441f961757ccb1f1e6f6670ac72a (diff) | |
download | pacman-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>
Diffstat (limited to 'test')
-rw-r--r-- | test/pacman/tests/scriptlet001.py | 4 | ||||
-rw-r--r-- | test/pacman/tests/scriptlet002.py | 4 |
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 |