diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-11 11:49:55 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-11 11:49:55 +0100 |
| commit | 52745ee2f23470a9da73769f61847c8435eedd13 (patch) | |
| tree | 2328d2d3184c0b409de64958107718caac0ab5fc /tests | |
| parent | f7cc4fbcc769b23dad05ad0b8d21ec650ac01037 (diff) | |
Make get_defconfig_filename() selftest more comprehensive.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Kdefconfig_existent_but_n | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/Kdefconfig_existent_but_n b/tests/Kdefconfig_existent_but_n new file mode 100644 index 0000000..17b8980 --- /dev/null +++ b/tests/Kdefconfig_existent_but_n @@ -0,0 +1,13 @@ +# $FOO is "defconfig_2" +# Should produce None due to the "depends on n" + +config FOO + option env="BAR" + +config A + string + depends on n + option defconfig_list + default "Kconfiglib/tests/defconfig_1" if y && !n && n + default "Kconfiglib/tests/$FOO" + default "Kconfiglib/tests/defconfig_1" |
