linux/scripts/kconfig/tests/preprocess/builtin_func/__init__.py

# SPDX-License-Identifier: GPL-2.0
"""
Built-in function tests.
"""

def test(conf):
    assert conf.oldaskconfig() == 0
    assert conf.stdout_contains('expected_stdout')
    assert conf.stderr_matches('expected_stderr')