test_juniper.sh 349 B

123456789101112
  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 juniper_srx \
  6. && py.test -v test_netmiko_config.py --test_device juniper_srx \
  7. && py.test -v test_netmiko_commit.py --test_device juniper_srx \
  8. || RETURN_CODE=1
  9. exit $RETURN_CODE