tests: use i3_config arg instead of precisely one launch_with_config
This way, tests are shorter, and i3test’s invocation of launch_with_config parallelizes work better, using dont_block => 1.
This commit is contained in:
@ -49,6 +49,11 @@ sub activate_i3 {
|
||||
die "could not fork()";
|
||||
}
|
||||
if ($pid == 0) {
|
||||
# Start a process group so that in the parent, we can kill the entire
|
||||
# process group and immediately kill i3bar and any other child
|
||||
# processes.
|
||||
setpgrp;
|
||||
|
||||
$ENV{LISTEN_PID} = $$;
|
||||
$ENV{LISTEN_FDS} = 1;
|
||||
delete $ENV{DESKTOP_STARTUP_ID};
|
||||
|
Reference in New Issue
Block a user