mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
tools/bootconfig: Support mixed value and subkey test cases
Update test case to support mixed value and subkey on a key. Link: https://lkml.kernel.org/r/162262195568.264090.12431204030021242896.stgit@devnote2 Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
This commit is contained in:
parent
e5efaeb8a8
commit
29e1c1ad3f
@ -1,3 +0,0 @@
|
||||
key.subkey = value
|
||||
# We can not override pre-defined subkeys with value
|
||||
key := value
|
@ -1,3 +0,0 @@
|
||||
key = value
|
||||
# We can not override pre-defined value with subkey
|
||||
key.subkey := value
|
4
tools/bootconfig/samples/good-mixed-append.bconf
Normal file
4
tools/bootconfig/samples/good-mixed-append.bconf
Normal file
@ -0,0 +1,4 @@
|
||||
key = foo
|
||||
keyx.subkey = value
|
||||
key += bar
|
||||
|
6
tools/bootconfig/samples/good-mixed-kv3.bconf
Normal file
6
tools/bootconfig/samples/good-mixed-kv3.bconf
Normal file
@ -0,0 +1,6 @@
|
||||
# mixed key and subkeys with braces
|
||||
key = value
|
||||
key {
|
||||
subkey1
|
||||
subkey2 = foo
|
||||
}
|
4
tools/bootconfig/samples/good-mixed-override.bconf
Normal file
4
tools/bootconfig/samples/good-mixed-override.bconf
Normal file
@ -0,0 +1,4 @@
|
||||
key.foo = bar
|
||||
key = value
|
||||
# mixed key value can be overridden
|
||||
key := value2
|
Loading…
Reference in New Issue
Block a user