mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 19:43:43 -04:00
Here are the test cases I used for developing the text expansion feature. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
12 lines
288 B
Python
12 lines
288 B
Python
# 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')
|