summaryrefslogtreecommitdiffstats
path: root/pactest/tests/scriptlet001.py
diff options
context:
space:
mode:
Diffstat (limited to 'pactest/tests/scriptlet001.py')
-rw-r--r--pactest/tests/scriptlet001.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pactest/tests/scriptlet001.py b/pactest/tests/scriptlet001.py
index a749a114..73bb7691 100644
--- a/pactest/tests/scriptlet001.py
+++ b/pactest/tests/scriptlet001.py
@@ -8,7 +8,8 @@ p1.install['pre_install'] = "ls /etc";
p1.install['post_install'] = "ls /etc";
self.addpkg(p1)
-self.args = "-U %s" % p1.filename()
+# --debug is necessary to check PACMAN_OUTPUT
+self.args = "--debug -U %s" % p1.filename()
self.addrule("PACMAN_RETCODE=0")
self.addrule("PACMAN_OUTPUT=pre_install")