10c874100SMasahiro Yamada# SPDX-License-Identifier: GPL-2.0 2e2c75e76SMasahiro Yamada""" 3e2c75e76SMasahiro YamadaDetect recursive inclusion error. 4e2c75e76SMasahiro Yamada 5e2c75e76SMasahiro YamadaIf recursive inclusion is detected, it should fail with error messages. 6e2c75e76SMasahiro Yamada""" 7e2c75e76SMasahiro Yamada 8e2c75e76SMasahiro Yamada 9e2c75e76SMasahiro Yamadadef test(conf): 10e2c75e76SMasahiro Yamada assert conf.oldaskconfig() != 0 11e2c75e76SMasahiro Yamada assert conf.stderr_contains('expected_stderr') 12