aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Wang <novalazy@gmail.com>2020-02-08 12:49:22 +1100
committerDavid Bremner <david@tethera.net>2020-02-13 19:10:42 -0400
commitc17fca40e2bc5514863d98807aaed318f144fd1a (patch)
treea507822484750dd2b832a28a3d5df6ff9f51e64d /test
parente091427d98b0c49e96fb312ad1af6862776b896a (diff)
sprinter: change integer method to use int64_t
In particular, timestamps beyond 2038 could overflow the sprinter interface on systems where time_t is 64-bit but 'int' is a signed 32-bit integer type.
Diffstat (limited to 'test')
-rwxr-xr-xtest/T160-json.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/T160-json.sh b/test/T160-json.sh
index ec1b5adb..d975efa7 100755
--- a/test/T160-json.sh
+++ b/test/T160-json.sh
@@ -65,7 +65,6 @@ test_expect_equal_json "$output" "[{\"thread\": \"XXX\",
\"unread\"]}]"
test_begin_subtest "Search message: json, 64-bit timestamp"
-test_subtest_known_broken
add_message "[subject]=\"json-search-64bit-timestamp-subject\"" "[date]=\"Tue, 01 Jan 2999 12:00:00 -0000\"" "[body]=\"json-search-64bit-timestamp-message\""
output=$(notmuch search --format=json "json-search-64bit-timestamp-message" | notmuch_search_sanitize)
test_expect_equal_json "$output" "[{\"thread\": \"XXX\",