forked from mirrors/linux
		
	All files in lxdialog/ are licensed under GPL-2.0+, and the rest are under GPL-2.0. I added GPL-2.0 tags to test scripts in tests/. Documentation/process/license-rules.rst does not suggest anything about the flex/bison files. Because flex does not accept the C++ comment style at the very top of a file, I used the C style for zconf.l, and so for zconf.y for consistency. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			255 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			255 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# SPDX-License-Identifier: GPL-2.0
 | 
						|
"""
 | 
						|
Detect recursive inclusion error.
 | 
						|
 | 
						|
If recursive inclusion is detected, it should fail with error messages.
 | 
						|
"""
 | 
						|
 | 
						|
 | 
						|
def test(conf):
 | 
						|
    assert conf.oldaskconfig() != 0
 | 
						|
    assert conf.stderr_contains('expected_stderr')
 |