mirror of
				https://github.com/i3/i3.git
				synced 2025-10-30 03:42:37 +00:00 
			
		
		
		
	complete-run.pl: Un-set I3SOCK
This causes test breakage when the developer/tester is running the tests in i3, as the actual active instance socket is used instead of the test instance. Besides breaking tests, this is quite dangerous as tests like 319-gaps.t will replace the **actual** config of the user (i.e. ~/.config/i3/config) instead of the current test config.
This commit is contained in:
		
							parent
							
								
									be840af45c
								
							
						
					
					
						commit
						871f306c01
					
				| @ -106,6 +106,8 @@ $ENV{PATH} = join(':', | ||||
|     '@abs_top_builddir@', | ||||
|     '@abs_top_srcdir@', | ||||
|     $ENV{PATH}); | ||||
| # Make sure we don't re-use the existing (developer's) i3 connection | ||||
| delete $ENV{I3SOCK}; | ||||
| 
 | ||||
| qx(Xephyr -help 2>&1); | ||||
| die "Xephyr was not found in your path. Please install Xephyr (xserver-xephyr on Debian)." if $?; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user