Add env {} warning test case
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 1 Feb 2012 22:26:23 +0000 (17:26 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 1 Feb 2012 22:26:23 +0000 (17:26 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/ctf-traces/succeed/env-warning/dummystream [new file with mode: 0644]
tests/ctf-traces/succeed/env-warning/metadata [new file with mode: 0644]

diff --git a/tests/ctf-traces/succeed/env-warning/dummystream b/tests/ctf-traces/succeed/env-warning/dummystream
new file mode 100644 (file)
index 0000000..53d735e
Binary files /dev/null and b/tests/ctf-traces/succeed/env-warning/dummystream differ
diff --git a/tests/ctf-traces/succeed/env-warning/metadata b/tests/ctf-traces/succeed/env-warning/metadata
new file mode 100644 (file)
index 0000000..f3618e2
--- /dev/null
@@ -0,0 +1,30 @@
+/* CTF 1.8 */
+typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t;
+typealias integer { size = 32; align = 32; signed = false; base = hex; } := 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];
+       };
+};
+
+env {
+       dummy = "blah";
+};
+
+stream {
+       packet.context := struct {
+               uint32_t content_size;
+               uint32_t packet_size;
+       };
+};
+
+event {
+       name = string;
+       fields := struct { string str; };
+};
This page took 0.039274 seconds and 4 git commands to generate.