diff --git a/scripts/RunTestEnvironment.sh b/scripts/RunTestEnvironment.sh index 01dd906b0f92559200c1191c79423166dc85008c..afdb9a4e196b9645b76b515c5c96aa9ca7e9d54d 100755 --- a/scripts/RunTestEnvironment.sh +++ b/scripts/RunTestEnvironment.sh @@ -1,6 +1,6 @@ #!/bin/bash -# InitialConfig.sh +# RunTestEnvironment.sh # This script will run a test environment inside tmux @@ -19,7 +19,21 @@ set -e # If an error occurs, the abort() function will be called. #---------------------------------------------------------- - # Done! 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 +