From 2f000add8273c7a4efba39b64aa545384af8a5df Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 4 Jan 2017 19:02:33 +0700 Subject: Add a grammar for generating curly configs for parser fuzzing tests. Subject to improvement and extension to cover more cases. --- test/data/vyos-curly-config.bnf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/data/vyos-curly-config.bnf diff --git a/test/data/vyos-curly-config.bnf b/test/data/vyos-curly-config.bnf new file mode 100644 index 0000000..917d689 --- /dev/null +++ b/test/data/vyos-curly-config.bnf @@ -0,0 +1,15 @@ + ::= ; + + ::= 10 | ; + + ::= "{" "}" ; + + ::= 5 | | | ; + + ::= "{" "}" ; + + ::= ";" ; + + ::= "foo" | "bar" | "baz" | "quux" | "xyzzy" ; + + ::= "192.0.2.1" | "203.0.113.0" | "foobar" | "1000" -- cgit v1.2.3