mirror of
https://github.com/torvalds/linux.git
synced 2026-04-21 16:23:59 -04:00
kconfig: tests: check unneeded "is not set" with unmet dependency
Commit cb67ab2cd2 ("kconfig: do not write choice values when their
dependency becomes n") fixed a problem where "# CONFIG_... is not set"
for choice values are wrongly written into the .config file when they
are once visible, then become invisible later.
Add a test for this naive case.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
This commit is contained in:
1
scripts/kconfig/tests/no_write_if_dep_unmet/config
Normal file
1
scripts/kconfig/tests/no_write_if_dep_unmet/config
Normal file
@@ -0,0 +1 @@
|
||||
CONFIG_A=y
|
||||
Reference in New Issue
Block a user