1printf "Running port test... " 2./port 3if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 4 5printf "Running bridge test... " 6./bridge 7if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 8 9printf "Running bridge STP test... " 10./bridge-stp 11if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 12 13printf "Running bridge VLAN test... " 14./bridge-vlan 15if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 16 17printf "Running bridge VLAN STP test... " 18./bridge-vlan-stp 19if [ $? -eq 0 ]; then echo "pass"; else echo "FAILED"; exit 1; fi 20