From: Mathieu Desnoyers Date: Fri, 29 Jul 2011 17:39:13 +0000 (-0400) Subject: Update ctf-path test case X-Git-Tag: v0.3~9 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=7fb16836741fe11151da258ad2c93b486e3acfbe;hp=25c7b1aecb45de9126f2003e2b7c7311d5ef1bd1 Update ctf-path test case Signed-off-by: Mathieu Desnoyers --- diff --git a/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt b/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt index a9c76a06..fadbe9f0 100644 --- a/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt +++ b/formats/ctf/metadata/ctf-test/tofix/ctf-path.txt @@ -45,5 +45,21 @@ event { enum select sel2; } str2; variant var2 b; + + /* + * TODO: Deal with path name lookup conflict, e.g. if a field is + * named "stream", it conflicts with the stream dynamic scope. + */ + struct { + enum select sel3 + } stream; + /* The following test should fail: */ + /* variant var3 c; */ + + /* + * TODO: support conflict-free local-scoped tags, starting with + * ".". + */ + variant var4 <.stream.sel3> d; }; };