repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git]
/
scripts
/
kconfig
/
tests
/
err_recursive_inc
/
__init__.py
blob
27aa1895a0b29517d466e448a452f5178ff8504b
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'
)