Commit f393edd4 authored by Volker Lendecke's avatar Volker Lendecke

selftest: Give tmux a bit of time to establish

I've seen a lot of failures with make testenv telling that stdin returns
EAGAIN. I haven't fully diagnosed it, but this seems to fix it. Now
make testenv is much more reliable.
Signed-off-by: default avatarVolker Lendecke <>
Reviewed-by: default avatarAndreas Schneider <>

Autobuild-User(master): Volker Lendecke <>
Autobuild-Date(master): Wed Jun 21 03:14:17 CEST 2017 on sn-devel-144
parent 8a2bbba5
......@@ -77,6 +77,10 @@ if [[ "$TMUX" ]]; then
$TMUX_CMD new-window -n test:$SERVERNAME "bash $basedir/$SERVERNAME.launch"
# tmux seems to lag a bit for new sessions. Don't create them too
# quickly one after another
sleep .1
screen -r -X screen -t test:$SERVERNAME bash $basedir/$SERVERNAME.launch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment