test_cisco.sh 287 B

123456789101112
  1. #!/bin/sh
  2. RETURN_CODE=0
  3. # Exit on the first test failure and set RETURN_CODE = 1
  4. echo "Cisco IOS SSH" \
  5. && py.test -v test_netmiko_show.py --test_device cisco881_ssh_config \
  6. && py.test -v test_netmiko_config.py --test_device cisco881_ssh_config \
  7. || RETURN_CODE=1
  8. exit $RETURN_CODE