Files
i3/testcases/t
Michael Stapelberg 8ade46bdf0 unflake t/289-ipc-shutdown-event.t (#5144)
Before this commit, the test was flaky: it relied on the Perl test process
sending the kill() system call before i3 exited. This can easily be triggered
by adding a sleep(1) after the “cmd 'exit'” line.

This is because with i3_autostart => 1 (the default), i3test.pm kills i3
or bails out if it can’t.

So, we instead set i3_autostart => 0 and launch i3 ourselves.
This will unfortunately still make the code kill i3 and bail out,
because launch_with_config updates the $i3_pid variable that i3test.pm
uses for tracking whether it should clean up i3.
The solution is to exit i3 by calling exit_gracefully,
which will make the i3test.pm state correct.

related to https://github.com/i3/i3/issues/3009
2022-09-21 17:47:40 +02:00
..
2019-10-14 03:31:24 +03:00
2018-03-15 19:57:30 +02:00
2017-09-30 11:41:57 +02:00
2022-06-01 09:49:05 +02:00
2018-11-12 18:45:00 +02:00
2022-06-01 09:49:05 +02:00
2017-09-30 11:41:57 +02:00
2021-11-05 15:19:18 +01:00
2017-09-30 11:41:57 +02:00
2022-06-01 09:49:05 +02:00
2022-06-01 09:49:05 +02:00
2017-09-30 11:41:57 +02:00
2019-07-19 21:10:40 +02:00
2022-06-01 09:49:05 +02:00
2022-06-01 09:49:05 +02:00
2018-12-12 13:09:15 +02:00
2022-06-01 09:49:05 +02:00
2022-06-01 09:49:05 +02:00