tests: complete-run: remove debugging messages
This commit is contained in:
parent
1a438f12ed
commit
c3eb9f6c45
|
@ -159,15 +159,12 @@ sub take_job {
|
||||||
if (!defined($pid)) {
|
if (!defined($pid)) {
|
||||||
die "could not fork()";
|
die "could not fork()";
|
||||||
}
|
}
|
||||||
say "pid = $pid";
|
|
||||||
if ($pid == 0) {
|
if ($pid == 0) {
|
||||||
say "child!";
|
|
||||||
$ENV{LISTEN_PID} = $$;
|
$ENV{LISTEN_PID} = $$;
|
||||||
$ENV{LISTEN_FDS} = 1;
|
$ENV{LISTEN_FDS} = 1;
|
||||||
$ENV{DISPLAY} = $display;
|
$ENV{DISPLAY} = $display;
|
||||||
$^F = 3;
|
$^F = 3;
|
||||||
|
|
||||||
say "fileno is " . fileno($socket);
|
|
||||||
close($reserved);
|
close($reserved);
|
||||||
POSIX::dup2(fileno($socket), 3);
|
POSIX::dup2(fileno($socket), 3);
|
||||||
|
|
||||||
|
@ -202,7 +199,6 @@ sub take_job {
|
||||||
# wait for the reply
|
# wait for the reply
|
||||||
$hdl->push_read(chunk => 1, => sub {
|
$hdl->push_read(chunk => 1, => sub {
|
||||||
my ($h, $line) = @_;
|
my ($h, $line) = @_;
|
||||||
say "read something from i3";
|
|
||||||
$activate_cv->send(1);
|
$activate_cv->send(1);
|
||||||
undef $hdl;
|
undef $hdl;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue