[continuous-integration] use sudo to kill daemon (#5533)

This makes kill commands in pty checks run with sudo. Otherwise
ot-daemon won't be killed and has to exit by itself, which makes
posix-pty-daemon fail sometimes.
This commit is contained in:
Moandor
2020-09-15 23:40:24 -07:00
committed by GitHub
parent 011d0eb347
commit 1d9d016f9a
+3 -3
View File
@@ -41,9 +41,9 @@ at_exit()
EXIT_CODE=$?
sudo killall expect || true
killall ot-ctl || true
killall ot-daemon || true
killall socat || true
sudo killall ot-ctl || true
sudo killall ot-daemon || true
sudo killall socat || true
exit $EXIT_CODE
}