summaryrefslogtreecommitdiff
path: root/tests/Kmisc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Kmisc')
-rw-r--r--tests/Kmisc27
1 files changed, 26 insertions, 1 deletions
diff --git a/tests/Kmisc b/tests/Kmisc
index de44b38..725f661 100644
--- a/tests/Kmisc
+++ b/tests/Kmisc
@@ -17,12 +17,26 @@ config C
tristate "C"
config D
tristate "D"
+# Quirky symbols - not proper choice symbol
+
+config Q1
+ tristate "Q1"
+ depends on D
+
+config Q2
+ tristate "Q2"
+ depends on Q1
+
+config Q3
+ tristate "Q3"
+ depends on D
+
endchoice
# get_user_value()
config BOOL
- bool "bool"
+ bool "bool" if NOT_DEFINED_1
config TRISTATE
tristate # Visibility should not affect user value
@@ -35,7 +49,18 @@ config INT
config HEX
hex "hex"
+ depends on NOT_DEFINED_2
comment "comment"
menu "menu"
+ depends on NOT_DEFINED_3 || NOT_DEFINED_2
+ depends on !NOT_DEFINED_4
endmenu
+
+config FROM_ENV
+ string
+ option env="ENV_VAR"
+
+config FROM_ENV_MISSING
+ string
+ option env="MISSING_ENV_VAR"