tools: bootconfig: Add bootconfig test script
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 10 Jan 2020 16:04:07 +0000 (01:04 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 13 Jan 2020 18:19:39 +0000 (13:19 -0500)
commit081c65360bd817672d0753fdf68ab34802d7a81d
tree66374807d12984fa95827d7cd79ceb3fecb66964
parent950313ebf79c65702f4c15d29328147766d1f1fd
tools: bootconfig: Add bootconfig test script

Add a bootconfig test script to ensure the tool and
boot config parser are working correctly.

Link: http://lkml.kernel.org/r/157867224728.17873.18114241801246589416.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
22 files changed:
tools/bootconfig/Makefile
tools/bootconfig/samples/bad-array-space-comment.bconf [new file with mode: 0644]
tools/bootconfig/samples/bad-array.bconf [new file with mode: 0644]
tools/bootconfig/samples/bad-dotword.bconf [new file with mode: 0644]
tools/bootconfig/samples/bad-empty.bconf [new file with mode: 0644]
tools/bootconfig/samples/bad-keyerror.bconf [new file with mode: 0644]
tools/bootconfig/samples/bad-longkey.bconf [new file with mode: 0644]
tools/bootconfig/samples/bad-manywords.bconf [new file with mode: 0644]
tools/bootconfig/samples/bad-no-keyword.bconf [new file with mode: 0644]
tools/bootconfig/samples/bad-nonprintable.bconf [new file with mode: 0644]
tools/bootconfig/samples/bad-spaceword.bconf [new file with mode: 0644]
tools/bootconfig/samples/bad-tree.bconf [new file with mode: 0644]
tools/bootconfig/samples/bad-value.bconf [new file with mode: 0644]
tools/bootconfig/samples/escaped.bconf [new file with mode: 0644]
tools/bootconfig/samples/good-array-space-comment.bconf [new file with mode: 0644]
tools/bootconfig/samples/good-comment-after-value.bconf [new file with mode: 0644]
tools/bootconfig/samples/good-printables.bconf [new file with mode: 0644]
tools/bootconfig/samples/good-simple.bconf [new file with mode: 0644]
tools/bootconfig/samples/good-single.bconf [new file with mode: 0644]
tools/bootconfig/samples/good-space-after-value.bconf [new file with mode: 0644]
tools/bootconfig/samples/good-tree.bconf [new file with mode: 0644]
tools/bootconfig/test-bootconfig.sh [new file with mode: 0755]