-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
for i in `seq 1 10`; do | ||
./test_suite_alt.sh | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/sh | ||
|
||
RETURN_CODE=0 | ||
|
||
# Exit on the first test failure and set RETURN_CODE = 1 | ||
echo "Starting tests...good luck:" \ | ||
&& echo "Cisco IOS" \ | ||
&& py.test -v test_netmiko_show.py --test_device cisco881 \ | ||
&& py.test -v test_netmiko_config.py --test_device cisco881 \ | ||
\ | ||
&& echo "Arista" \ | ||
&& py.test -v test_netmiko_show.py --test_device arista_sw4 \ | ||
&& py.test -v test_netmiko_config.py --test_device arista_sw4 \ | ||
\ | ||
&& echo "HP ProCurve" \ | ||
&& py.test -v test_netmiko_show.py --test_device hp_procurve \ | ||
&& py.test -v test_netmiko_config.py --test_device hp_procurve \ | ||
\ | ||
&& echo "Juniper" \ | ||
&& 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 \ | ||
\ | ||
&& 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 \ | ||
\ | ||
&& echo "Cisco ASA" \ | ||
&& py.test -v test_netmiko_show.py --test_device cisco_asa \ | ||
&& py.test -v test_netmiko_config.py --test_device cisco_asa \ | ||
|| RETURN_CODE=1 | ||
|
||
exit $RETURN_CODE |