test_asa.sh 416 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. && py.test -v test_netmiko_show.py --test_device cisco_asa_login \
  6. && py.test -v test_netmiko_config.py --test_device cisco_asa_login \
  7. && py.test -v test_netmiko_show.py --test_device cisco_asa \
  8. && py.test -v test_netmiko_config.py --test_device cisco_asa \
  9. || RETURN_CODE=1
  10. exit $RETURN_CODE