Add warning tests
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 28 Jan 2012 03:45:24 +0000 (22:45 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 28 Jan 2012 03:45:24 +0000 (22:45 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/ctf-traces/succeed/warnings/dummystream [new file with mode: 0644]
tests/ctf-traces/succeed/warnings/metadata [new file with mode: 0644]

diff --git a/tests/ctf-traces/succeed/warnings/dummystream b/tests/ctf-traces/succeed/warnings/dummystream
new file mode 100644 (file)
index 0000000..53d735e
Binary files /dev/null and b/tests/ctf-traces/succeed/warnings/dummystream differ
diff --git a/tests/ctf-traces/succeed/warnings/metadata b/tests/ctf-traces/succeed/warnings/metadata
new file mode 100644 (file)
index 0000000..30ca784
--- /dev/null
@@ -0,0 +1,29 @@
+/* CTF 1.8 */
+typealias integer { size = 8; align = 8; signed = false; aa = bb; } := uint8_t;
+typealias integer { size = 32; align = 32; signed = false; zz = aa; } := uint32_t;
+
+trace {
+       major = 0;
+       minor = 1;
+       uuid = "2a6422d0-6cee-11e0-8c08-cb07d7b3a564";
+       byte_order = le;
+       packet.header := struct {
+               uint32_t magic;
+               uint8_t  uuid[16];
+       };
+       blah = "aaa";
+};
+
+stream {
+       packet.context := struct {
+               uint32_t content_size;
+               uint32_t packet_size;
+       };
+       askdjfhaskdjfh = 1;
+};
+
+event {
+       name = string;
+       fields := struct { string str; };
+       asdjfhah := struct { uint8_t ffff; };
+};
This page took 0.033957 seconds and 4 git commands to generate.