tests: remove the (broken) exit_gracefully check
I previously tried to fix the check, but could only come up with a fix which required removing our module pre-loading, which makes the tests considerably more expensive. Instead, let’s just remove the check.
This commit is contained in:
@ -100,14 +100,8 @@ my $i3_pid;
|
||||
my $i3_autostart;
|
||||
|
||||
END {
|
||||
|
||||
# testcases which start i3 manually should always call exit_gracefully
|
||||
# on their own. Let’s see, whether they really did.
|
||||
if (! $i3_autostart) {
|
||||
return unless $i3_pid;
|
||||
|
||||
$tester->ok(undef, 'testcase called exit_gracefully()');
|
||||
}
|
||||
# Skip the remaining cleanup for testcases which set i3_autostart => 0:
|
||||
return if !defined($i3_pid) && !$i3_autostart;
|
||||
|
||||
# don't trigger SIGCHLD handler
|
||||
local $SIG{CHLD};
|
||||
|
Reference in New Issue
Block a user