From: Philippe Proulx Date: Fri, 25 Mar 2016 21:44:10 +0000 (-0400) Subject: tests/config/pass/everything: add no payload type test X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=67221cf71c5ad85292bc1ce464f005e11c95ceb7;p=deliverable%2Fbarectf.git tests/config/pass/everything: add no payload type test Signed-off-by: Philippe Proulx --- diff --git a/tests/config/pass/everything/inc-stream.yaml b/tests/config/pass/everything/inc-stream.yaml index 28ce6e6..b537686 100644 --- a/tests/config/pass/everything/inc-stream.yaml +++ b/tests/config/pass/everything/inc-stream.yaml @@ -9,3 +9,9 @@ event-context-type: events: evev: payload-type: def-payload-type + context_no_payload: + context-type: + class: struct + fields: + str: string + no_context_no_payload: {} diff --git a/tests/config/pass/everything/pass.bats b/tests/config/pass/everything/pass.bats index 1637203..c661db7 100644 --- a/tests/config/pass/everything/pass.bats +++ b/tests/config/pass/everything/pass.bats @@ -16,8 +16,10 @@ load ../../common nm bctf.o | grep bctf_init nm bctf.o | grep bctf_my_other_stream_close_packet nm bctf.o | grep bctf_my_other_stream_open_packet + nm bctf.o | grep bctf_my_other_stream_trace_context_no_payload nm bctf.o | grep bctf_my_other_stream_trace_evev nm bctf.o | grep bctf_my_other_stream_trace_my_event + nm bctf.o | grep bctf_my_other_stream_trace_no_context_no_payload nm bctf.o | grep bctf_my_other_stream_trace_oh_henry_event nm bctf.o | grep bctf_my_other_stream_trace_this_event nm bctf.o | grep bctf_my_stream_close_packet