summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/query002.py
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-07-21 08:38:17 +0200
committerAllan McRae <allan@archlinux.org>2013-07-30 05:01:26 +0200
commitd7bd40045c5a8c1240800bddf61ddac3fa4bd3d2 (patch)
treed60fe355b76701c3f400846ef6403d2e48ae9edd /test/pacman/tests/query002.py
parente81faa9d6d2ac910720a9a87a9f469b80cf106e5 (diff)
downloadpacman-d7bd40045c5a8c1240800bddf61ddac3fa4bd3d2.tar.gz
pacman-d7bd40045c5a8c1240800bddf61ddac3fa4bd3d2.tar.xz
Remove setlocale usage from the backend
Using setlocale in the backend is bound to lead to frontend issues and we have have been using epoch in our databases since April 2007 (commit 47622eef). Remove support for old style times. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/query002.py')
-rw-r--r--test/pacman/tests/query002.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/pacman/tests/query002.py b/test/pacman/tests/query002.py
index ccf18f44..5de1f37b 100644
--- a/test/pacman/tests/query002.py
+++ b/test/pacman/tests/query002.py
@@ -1,4 +1,4 @@
-self.description = "Query info on a package (old date)"
+self.description = "Query info on a package"
p = pmpkg("foobar")
p.files = ["bin/foobar"]
@@ -7,8 +7,6 @@ p.groups = ["foo"]
p.url = "http://www.archlinux.org"
p.license = "GPL2"
p.arch = "i686"
-# test old style date
-p.builddate = "Mon Oct 1 01:40:21 2007 UTC"
p.packager = "Arch Linux"
self.addpkg2db("local", p)
@@ -18,4 +16,3 @@ 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")