aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-13 18:12:07 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-26 02:04:03 +0900
commit930c429a656fdba0c7f76b9a36ec2698f946e8e3 (patch)
tree98bb0a09b30fc3e4d5008e4bf787867eeb541e7e /scripts/kconfig/tests/no_write_if_dep_unmet/expected_config
parentkconfig: tests: test if new symbols in choice are asked (diff)
downloadlinux-dev-930c429a656fdba0c7f76b9a36ec2698f946e8e3.tar.xz
linux-dev-930c429a656fdba0c7f76b9a36ec2698f946e8e3.zip
kconfig: tests: check unneeded "is not set" with unmet dependency
Commit cb67ab2cd2b8 ("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>
Diffstat (limited to 'scripts/kconfig/tests/no_write_if_dep_unmet/expected_config')
-rw-r--r--scripts/kconfig/tests/no_write_if_dep_unmet/expected_config5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config b/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config
new file mode 100644
index 000000000000..0d15e41da475
--- /dev/null
+++ b/scripts/kconfig/tests/no_write_if_dep_unmet/expected_config
@@ -0,0 +1,5 @@
+#
+# Automatically generated file; DO NOT EDIT.
+# Linux Kernel Configuration
+#
+# CONFIG_A is not set