cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

__init__.py (288B)


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