1 # SPDX-License-Identifier: GPL-2.0 2 """ 3 Basic choice tests. 4 """ 5 6 7 def test_oldask0(conf): 8 assert conf.oldaskconfig() == 0 9 assert conf.stdout_contains('oldask0_expected_stdout') 10 11 12 def test_allyes(conf): 13 assert conf.allyesconfig() == 0 14 assert conf.config_contains('allyes_expected_config') 15 16 17 def test_allmod(conf): 18 assert conf.allmodconfig() == 0 19 assert conf.config_contains('allmod_expected_config') 20 21 22 def test_allno(conf): 23 assert conf.allnoconfig() == 0 24 assert conf.config_contains('allno_expected_config') 25 26 27 def test_alldef(conf): 28 assert conf.alldefconfig() == 0 29 assert conf.config_contains('alldef_expected_config')
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.