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') 15