forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-10-19 0e3fb4354b784f3b341617ff304b9189b4a8cd1f
1
2
3
4
5
6
7
8
9
10
11
# SPDX-License-Identifier: GPL-2.0
"""
Detect circular variable expansion.
 
If a recursively expanded variable references itself (eventually),
it should fail with an error message.
"""
 
def test(conf):
    assert conf.oldaskconfig() != 0
    assert conf.stderr_matches('expected_stderr')