test_s300.sh 308 B

12345678910111213
  1. #!/bin/sh
  2. RETURN_CODE=0
  3. # Exit on the first test failure and set RETURN_CODE = 1
  4. echo "Starting tests...good luck:" \
  5. && echo "Cisco SG300" \
  6. && py.test -v test_netmiko_show.py --test_device cisco_s300 \
  7. && py.test -v test_netmiko_config.py --test_device cisco_s300 \
  8. \
  9. || RETURN_CODE=1
  10. exit $RETURN_CODE