aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/util_tests.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/util_tests.cpp b/src/test/util_tests.cpp
index b57945d061..691f02a9d7 100644
--- a/src/test/util_tests.cpp
+++ b/src/test/util_tests.cpp
@@ -330,4 +330,12 @@ BOOST_AUTO_TEST_CASE(strprintf_numbers)
#undef B
#undef E
+/* Check for mingw/wine issue #3494
+ * Remove this test before time.ctime(0xffffffff) == 'Sun Feb 7 07:28:15 2106'
+ */
+BOOST_AUTO_TEST_CASE(gettime)
+{
+ BOOST_CHECK((GetTime() & ~0xFFFFFFFFLL) == 0);
+}
+
BOOST_AUTO_TEST_SUITE_END()