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