summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/query005.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-01 19:06:32 +0200
committerDan McGee <dan@archlinux.org>2011-09-01 19:18:48 +0200
commit13072ef86ca8d9b3eb5b06c21211dc98d5a21732 (patch)
tree1c2d7d134bd6b635e3872860d8c97c72770a7aac /test/pacman/tests/query005.py
parent11873b70ae346d06da8590f6bd4bfc19577a8840 (diff)
downloadpacman-13072ef86ca8d9b3eb5b06c21211dc98d5a21732.tar.gz
pacman-13072ef86ca8d9b3eb5b06c21211dc98d5a21732.tar.xz
Add pactest for overflowing date (year 2038 problem)
This will work fine on x86_64 (or any platform that has a 64 bit long), but currently fails on i686. This test also stresses the recent changes to accommodate package size values greater than a 32 bit UINT_MAX. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/query005.py')
-rw-r--r--test/pacman/tests/query005.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pacman/tests/query005.py b/test/pacman/tests/query005.py
index 23a78fcb..06768b3c 100644
--- a/test/pacman/tests/query005.py
+++ b/test/pacman/tests/query005.py
@@ -1,4 +1,4 @@
-self.description = "Query info on a package"
+self.description = "Query info on a package (new date)"
p = pmpkg("foobar")
p.files = ["bin/foobar"]
@@ -18,4 +18,4 @@ self.args = "-Qi %s" % p.name
self.addrule("PACMAN_RETCODE=0")
self.addrule("PACMAN_OUTPUT=^Name.*%s" % p.name)
self.addrule("PACMAN_OUTPUT=^Description.*%s" % p.desc)
-self.addrule("PACMAN_OUTPUT=^Build Date.*2007")
+self.addrule("PACMAN_OUTPUT=^Build Date.* 2007")