mirror of
https://github.com/kaboomserver/buildpack.git
synced 2025-08-04 03:15:37 +00:00
Tests
This commit is contained in:
parent
7231531816
commit
66f13cef15
2 changed files with 8 additions and 1 deletions
|
@ -20,7 +20,7 @@ while true; do
|
|||
sleep 5
|
||||
done &
|
||||
|
||||
ttyd -p $PORT tmux new-session -t server &
|
||||
ttyd -p $PORT script/console &
|
||||
sleep 30
|
||||
|
||||
while true; do
|
||||
|
|
7
script/console
Executable file
7
script/console
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
$client = $RANDOM
|
||||
|
||||
tmux/bin/tmux new-session -d -t server -s $client
|
||||
tmux/bin/tmux new-window
|
||||
tmux send-keys -t $client $@
|
||||
tmux attach -t $client
|
Loading…
Add table
Add a link
Reference in a new issue