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 92d5a606721f759ebebf448b3bd2b7a781d50bd0 14 lines 491 B view raw
1# SPDX-License-Identifier: GPL-2.0 2""" 3Test that transitional symbols with invalid properties are rejected. 4 5Transitional symbols can only have help sections. Any other properties 6(default, select, depends, etc.) should cause a parser error. 7""" 8 9def test(conf): 10 # This should fail with exit code 1 due to invalid transitional symbol 11 assert conf.olddefconfig() == 1 12 13 # Check that the error message is about transitional symbols 14 assert conf.stderr_contains('expected_stderr')