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