feat(test): tmux test now working
This commit is contained in:
parent
9831101cde
commit
316dd1fde4
2 changed files with 18 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -92,9 +92,9 @@ test: debug
|
|||
fi
|
||||
@tmux new-session -d -s $(SESSION) \
|
||||
'bash -lc "./$(NAME) 4243 irc; exec bash"'
|
||||
@tmux split-window -h -p 70 -t $(SESSION):1 \
|
||||
@tmux split-window -h -p 70 -t $(SESSION):0 \
|
||||
'bash -lc "irssi 4243 irc --color=on; exec yes irssi"'
|
||||
@tmux split-window -v -p 50 -t $(SESSION):1.2 \
|
||||
@tmux split-window -v -p 50 -t $(SESSION):0.1 \
|
||||
'bash -lc "nc localhost 4243; exec yes netcat"'
|
||||
@tmux attach -t $(SESSION)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue