Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 """
0003 Ask new choice values when they become visible.
0004 
0005 If new choice values are added with new dependency, and they become
0006 visible during user configuration, oldconfig should recognize them
0007 as (NEW), and ask the user for choice.
0008 
0009 Related Linux commit: 5d09598d488f081e3be23f885ed65cbbe2d073b5
0010 """
0011 
0012 
0013 def test(conf):
0014     assert conf.oldconfig('config', 'y') == 0
0015     assert conf.stdout_contains('expected_stdout')