diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-14 14:28:56 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-14 14:28:56 +0100 |
| commit | 8d2f99acc75c16a850a7545184aee80cf5cbc243 (patch) | |
| tree | 4afd111dc7ca26b197da5468f7da398c7379436a /tests/Kmisc | |
| parent | 1e265a2376beb1521a49af228787d8e39abfaa01 (diff) | |
Add selftests for various minor APIs.
Diffstat (limited to 'tests/Kmisc')
| -rw-r--r-- | tests/Kmisc | 27 |
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" |
