1*f9afce4fSKees Cook# SPDX-License-Identifier: GPL-2.0 2*f9afce4fSKees Cook""" 3*f9afce4fSKees CookTest that transitional symbols with invalid properties are rejected. 4*f9afce4fSKees Cook 5*f9afce4fSKees CookTransitional symbols can only have help sections. Any other properties 6*f9afce4fSKees Cook(default, select, depends, etc.) should cause a parser error. 7*f9afce4fSKees Cook""" 8*f9afce4fSKees Cook 9*f9afce4fSKees Cookdef test(conf): 10*f9afce4fSKees Cook # This should fail with exit code 1 due to invalid transitional symbol 11*f9afce4fSKees Cook assert conf.olddefconfig() == 1 12*f9afce4fSKees Cook 13*f9afce4fSKees Cook # Check that the error message is about transitional symbols 14*f9afce4fSKees Cook assert conf.stderr_contains('expected_stderr') 15