Add packetized metadata endianness test cases
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 23 Apr 2015 16:19:28 +0000 (12:19 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 23 Apr 2015 16:22:43 +0000 (12:22 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/1.8/regression/metadata/fail/metadata-packetized-endianness-mismatch/metadata [new file with mode: 0644]
tests/1.8/regression/metadata/pass/metadata-big-endian/metadata [new file with mode: 0644]
tests/1.8/regression/metadata/pass/metadata-packetized-big-endian/metadata [new file with mode: 0644]
tests/1.8/regression/metadata/pass/metadata-packetized-little-endian/metadata [new file with mode: 0644]

diff --git a/tests/1.8/regression/metadata/fail/metadata-packetized-endianness-mismatch/metadata b/tests/1.8/regression/metadata/fail/metadata-packetized-endianness-mismatch/metadata
new file mode 100644 (file)
index 0000000..edf6630
Binary files /dev/null and b/tests/1.8/regression/metadata/fail/metadata-packetized-endianness-mismatch/metadata differ
diff --git a/tests/1.8/regression/metadata/pass/metadata-big-endian/metadata b/tests/1.8/regression/metadata/pass/metadata-big-endian/metadata
new file mode 100644 (file)
index 0000000..2f3046a
--- /dev/null
@@ -0,0 +1,7 @@
+/* CTF 1.8 */
+
+trace {
+       major = 1;
+       minor = 8;
+       byte_order = be;
+};
diff --git a/tests/1.8/regression/metadata/pass/metadata-packetized-big-endian/metadata b/tests/1.8/regression/metadata/pass/metadata-packetized-big-endian/metadata
new file mode 100644 (file)
index 0000000..94963ed
Binary files /dev/null and b/tests/1.8/regression/metadata/pass/metadata-packetized-big-endian/metadata differ
diff --git a/tests/1.8/regression/metadata/pass/metadata-packetized-little-endian/metadata b/tests/1.8/regression/metadata/pass/metadata-packetized-little-endian/metadata
new file mode 100644 (file)
index 0000000..1e4a8b3
Binary files /dev/null and b/tests/1.8/regression/metadata/pass/metadata-packetized-little-endian/metadata differ
This page took 0.029616 seconds and 4 git commands to generate.