Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.12-rc6 18 lines 529 B view raw
1# SPDX-License-Identifier: GPL-2.0-only 2""" 3Randomize choices with correct dependencies 4 5When shuffling a choice may potentially disrupt certain dependencies, symbol 6values must be recalculated. 7 8Related Linux commits: 9 - c8fb7d7e48d11520ad24808cfce7afb7b9c9f798 10""" 11 12 13def test(conf): 14 for i in range(20): 15 assert conf.randconfig(seed=i) == 0 16 assert (conf.config_matches('expected_config0') or 17 conf.config_matches('expected_config1') or 18 conf.config_matches('expected_config2'))