#!/bin/sh RETURN_CODE=0 # Exit on the first test failure and set RETURN_CODE = 1 echo "Starting tests...good luck:" \ && echo "Cisco SG300" \ && py.test -v test_netmiko_show.py --test_device cisco_s300 \ && py.test -v test_netmiko_config.py --test_device cisco_s300 \ \ || RETURN_CODE=1 exit $RETURN_CODE