Fix test: packet seq num has too large offset_s
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 17 Jul 2017 19:26:07 +0000 (15:26 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 18 Jul 2017 16:11:42 +0000 (12:11 -0400)
The offset_s values multiplied by 1000000000 overflows 64-bit.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/ctf-traces/packet_seq_num/2_lost_before_last/metadata
tests/ctf-traces/packet_seq_num/2_streams_lost_in_1/metadata
tests/ctf-traces/packet_seq_num/2_streams_lost_in_2/metadata
tests/ctf-traces/packet_seq_num/no_lost/metadata
tests/ctf-traces/packet_seq_num/no_lost_not_starting_at_0/metadata

index 792831d344c4b795832942f80cd22b6f19b3ca7a..36e26cdfe71db7343c25f536f843ad81bec3f599 100644 (file)
@@ -22,7 +22,7 @@ clock {
        description = "This is a test clock";
        freq = 1000000000;
        precision = 10;
-       offset_s = 1351530929945824323;
+       offset_s = 13515309;
        offset = 0;
        absolute = TRUE;
 };
index 4fa16a30b44a792b9bd7aa6d88d4e3ab04cd1e60..525405e2cb06792fee703ef31f1d60d1cafc0b8d 100644 (file)
@@ -22,7 +22,7 @@ clock {
        description = "This is a test clock";
        freq = 1000000000;
        precision = 10;
-       offset_s = 1351530929945824323;
+       offset_s = 13515309;
        offset = 0;
        absolute = TRUE;
 };
index c0ea8f5e7d63dd1faa94fe10218d9c0c29132af2..680d9103de95d053656d32496d60fd7de5643e82 100644 (file)
@@ -22,7 +22,7 @@ clock {
        description = "This is a test clock";
        freq = 1000000000;
        precision = 10;
-       offset_s = 1351530929945824323;
+       offset_s = 13515309;
        offset = 0;
        absolute = TRUE;
 };
index 5612b9f31d0b8f4b0e3c1d71b9b10758688d6fcc..d562061a1fc51cff737b9fb2e153f00b8b0af4f8 100644 (file)
@@ -22,7 +22,7 @@ clock {
        description = "This is a test clock";
        freq = 1000000000;
        precision = 10;
-       offset_s = 1351530929945824323;
+       offset_s = 13515309;
        offset = 0;
        absolute = TRUE;
 };
index 7febb6d0358adb02765332924d1142350784267b..c8f5783d58bcd19815f97544d4de922313c1f509 100644 (file)
@@ -22,7 +22,7 @@ clock {
        description = "This is a test clock";
        freq = 1000000000;
        precision = 10;
-       offset_s = 1351530929945824323;
+       offset_s = 13932323;
        offset = 0;
        absolute = TRUE;
 };
This page took 0.026277 seconds and 4 git commands to generate.