Fix test: ctf writer has too large offset_s
A message that is not in the archive (sent off-list or not yet received): [email protected]
This was fixed as part of a pull request [1] which was merged yesterday.
Thanks!
Jérémie
[1] https://github.com/efficios/babeltrace/pull/75
Quoted 23 lines · Michael Jeanson
The
offset_svalues multiplied by 1000000000 overflows 64-bit.Signed-off-by Michael Jeanson <[email protected]>--- tests/lib/test_ctf_writer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/lib/test_ctf_writer.c +1
-2@@ -2830,7 +2830,7 @@ int main(int argc, char **argv)const char *returned_clock_name;const char *returned_clock_description;const uint64_t frequency =1123456789 ; -const int64_t offset_s =1351530929945824323 ; +const int64_t offset_s =13515309 ;const int64_t offset =1234567 ;int64_t get_offset_s, get_offset; --2.7.4
Signature · 7 lines
Jérémie Galarneau EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev