From 2d832adf08ea428a956cf9e070a347fc01fb67de Mon Sep 17 00:00:00 2001 From: Chirantan Ekbote Date: Thu, 31 Jan 2013 22:24:23 -0500 Subject: 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 Signed-off-by: Allan McRae --- test/pacman/tests/scriptlet001.py | 4 ---- test/pacman/tests/scriptlet002.py | 4 ---- 2 files changed, 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 -- cgit v1.2.3-70-g09d2