summaryrefslogtreecommitdiff
path: root/pactest/tests
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-03-25 17:37:42 +0000
committerDan McGee <dan@archlinux.org>2007-03-25 17:37:42 +0000
commit58fe79eef64fb87b2553e6514a47beaa6d0249c1 (patch)
treea5715cc4c84367a4d04e2c0454b421c7ebe45312 /pactest/tests
parenta07b490344483ddee2980214ef470cf4defdda3f (diff)
* Fix bug where 'makepkg -L' doesn't stop on build failure.
Andrew Fyfe <andrew@neptune-one.net> * Add testing to etc/pacman.d/.cvsignore * Fix scriptlet001.py test to work during 'make check'.
Diffstat (limited to 'pactest/tests')
-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")