Skip to content
projects
/
linux
·
blob
master ·
refs
linux
scripts
kconfig
tests
err_recursive_inc
__init__.py
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
11 lines · 255 B
1
#
SPDX-License-Identifier: GPL-2.0
2
"""
3
Detect recursive inclusion error.
4
5
If recursive inclusion is detected, it should fail with error messages.
6
"""
7
8
9
def
test
(
conf
)
:
10
assert
conf
.
oldaskconfig
(
)
!=
0
11
assert
conf
.
stderr_contains
(
'
expected_stderr
'
)