xref: /linux/scripts/kconfig/tests/err_repeated_inc/__init__.py (revision 883af1f8e8788b99c5cd6797219bca44571775c9)
1# SPDX-License-Identifier: GPL-2.0
2"""
3Detect repeated inclusion error.
4
5If repeated inclusion is detected, it should fail with error message.
6"""
7
8def test(conf):
9    assert conf.oldaskconfig() != 0
10    assert conf.stderr_contains('expected_stderr')
11