From: Mathieu Desnoyers Date: Mon, 18 Nov 2013 12:58:45 +0000 (-0500) Subject: update test X-Git-Url: https://git.efficios.com/?p=ctf-testsuite.git;a=commitdiff_plain;h=34f65085013b2cbb571a8cdfeb19d658882e881f update test Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/1.8/regression/stream/fail/out-of-bound-alignment-empty-struct/dummystream b/tests/1.8/regression/stream/fail/out-of-bound-alignment-empty-struct/dummystream deleted file mode 100644 index 5ea947a..0000000 --- a/tests/1.8/regression/stream/fail/out-of-bound-alignment-empty-struct/dummystream +++ /dev/null @@ -1 +0,0 @@ -ÁüÁ*d"ÐlîàŒË׳¥dB \ No newline at end of file diff --git a/tests/1.8/regression/stream/fail/out-of-bound-alignment-empty-struct/metadata b/tests/1.8/regression/stream/fail/out-of-bound-alignment-empty-struct/metadata deleted file mode 100644 index 9236148..0000000 --- a/tests/1.8/regression/stream/fail/out-of-bound-alignment-empty-struct/metadata +++ /dev/null @@ -1,19 +0,0 @@ -/* CTF 1.8 */ -typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t; -typealias integer { size = 32; align = 512; 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]; - }; -}; - -event { - name = evname; - fields := struct { struct {} align(512) s; }; -}; diff --git a/tests/1.8/regression/stream/fail/out-of-bound-empty-event-with-aligned-struct/dummystream b/tests/1.8/regression/stream/fail/out-of-bound-empty-event-with-aligned-struct/dummystream new file mode 100644 index 0000000..5ea947a --- /dev/null +++ b/tests/1.8/regression/stream/fail/out-of-bound-empty-event-with-aligned-struct/dummystream @@ -0,0 +1 @@ +ÁüÁ*d"ÐlîàŒË׳¥dB \ No newline at end of file diff --git a/tests/1.8/regression/stream/fail/out-of-bound-empty-event-with-aligned-struct/metadata b/tests/1.8/regression/stream/fail/out-of-bound-empty-event-with-aligned-struct/metadata new file mode 100644 index 0000000..9236148 --- /dev/null +++ b/tests/1.8/regression/stream/fail/out-of-bound-empty-event-with-aligned-struct/metadata @@ -0,0 +1,19 @@ +/* CTF 1.8 */ +typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t; +typealias integer { size = 32; align = 512; 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]; + }; +}; + +event { + name = evname; + fields := struct { struct {} align(512) s; }; +};