From 13072ef86ca8d9b3eb5b06c21211dc98d5a21732 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 1 Sep 2011 12:06:32 -0500 Subject: 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 --- test/pacman/tests/query002.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/pacman/tests/query002.py') diff --git a/test/pacman/tests/query002.py b/test/pacman/tests/query002.py index 72fd7c1e..ccf18f44 100644 --- a/test/pacman/tests/query002.py +++ b/test/pacman/tests/query002.py @@ -1,4 +1,4 @@ -self.description = "Query info on a package" +self.description = "Query info on a package (old 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") -- cgit v1.2.3-70-g09d2