summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/pacman/tests/query006.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/pacman/tests/query006.py b/test/pacman/tests/query006.py
index 36684785..0f6f762b 100644
--- a/test/pacman/tests/query006.py
+++ b/test/pacman/tests/query006.py
@@ -24,4 +24,7 @@ self.addrule("PACMAN_OUTPUT=^Installed Size.*9765625.00 KiB")
self.addrule("PACMAN_OUTPUT=^Build Date.* 2065")
self.addrule("PACMAN_OUTPUT=^Install Date.* 2286")
-self.expectfailure = True
+# expect failure on 32bit systems
+import sys
+if sys.maxsize <= 2**32:
+ self.expectfailure = True