xref: /linux/scripts/kconfig/tests/preprocess/builtin_func/__init__.py (revision 60e3f1e9b7a57567c2f3b3ae013e3e292cf6d115)
1# SPDX-License-Identifier: GPL-2.0
2"""
3Built-in function tests.
4"""
5
6def test(conf):
7    assert conf.oldaskconfig() == 0
8    assert conf.stdout_contains('expected_stdout')
9    assert conf.stderr_matches('expected_stderr')
10