mirror of
https://github.com/i3/i3.git
synced 2025-12-01 12:06:20 +00:00
complete-run.pl: Un-set I3SOCK (#6139)
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. Broken after #5987
This commit is contained in:
@ -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 $?;
|
||||
|
||||
Reference in New Issue
Block a user