Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / scripts / kconfig / tests / new_choice_with_dep / __init__.py
blobfe9d322539c9127df024d402e0d12c347f812c42
1 # SPDX-License-Identifier: GPL-2.0
2 """
3 Ask new choice values when they become visible.
5 If new choice values are added with new dependency, and they become
6 visible during user configuration, oldconfig should recognize them
7 as (NEW), and ask the user for choice.
9 Related Linux commit: 5d09598d488f081e3be23f885ed65cbbe2d073b5
10 """
13 def test(conf):
14 assert conf.oldconfig('config', 'y') == 0
15 assert conf.stdout_contains('expected_stdout')