What is wrong with my Bash script for automatic installation of devstack?

Solution 1:

Terminate the case conditions 1) and 2) with two semicolon characters ( ;; ). When a match is found all of the associated statements until the double semicolon are executed.

#!/bin/bash
clear 
echo "================="
echo "test"
echo  "================="
echo "1. test"
echo "2. exit menu"
echo -e "Make a selection and then press <Enter> "
read answer  
case "$answer" in
1) ./installatiedev.sh
   ;;
2) exit 
   ;;
esac