Skip to content
Snippets Groups Projects
Commit ddf3da62 authored by Mark Tearle's avatar Mark Tearle
Browse files

Add tmux to RunTestEnvironment (initial scaffold)

parent 68e48bf2
No related merge requests found
#!/bin/bash #!/bin/bash
# InitialConfig.sh # RunTestEnvironment.sh
# This script will run a test environment inside tmux # This script will run a test environment inside tmux
...@@ -19,7 +19,21 @@ set -e ...@@ -19,7 +19,21 @@ set -e
# If an error occurs, the abort() function will be called. # If an error occurs, the abort() function will be called.
#---------------------------------------------------------- #----------------------------------------------------------
# Done! # Done!
trap : 0 trap : 0
# Start new tmux session
tmux new -d -s uccvend
tmux new-window -t uccvend:1 -n 'dispense' 'watch date'
tmux new-window -t uccvend:2 -n 'Vendserver' 'watch date'
tmux new-window -t uccvend:3 -n 'virtualsnack' 'watch date'
tmux new-window -t uccvend:4 -n 'virtualcoke' 'watch date'
tmux new-window -t uccvend:5 -n 'Shell'
tmux select-window -t uccvend:5
tmux -2 attach-session -t uccvend
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