]> rtime.felk.cvut.cz Git - novaboot.git/commit
server: Refactor console setup to a separate function
authorMichal Sojka <michal.sojka@cvut.cz>
Mon, 25 Jan 2021 00:12:08 +0000 (01:12 +0100)
committerMichal Sojka <michal.sojka@cvut.cz>
Tue, 26 Jan 2021 08:40:13 +0000 (09:40 +0100)
commit034d421ceaea44348de7327de0f76b4b88fc02eb
treeb7b65ffae8c0f5bfaee3ee139c425dc58d5c0f24
parent296f3b5689e250bc948cb949756f7e609a4621d5
server: Refactor console setup to a separate function

Also drop exec before the command, because it only causes troubles.
Thanks to dropping exec, we had to change the testsuite, because
without exec it starts a new process, which is not killed by "kill
$COPROC_PID" and since it holds a lock (via flock), we could not run
the following tests.

This change will be useful in next commits.
server/novaboot-shell
tests/server.wv