Skip to content

Commit

Permalink
Merge pull request #8 from elgeoman/master
Browse files Browse the repository at this point in the history
Need to tick up numtests if checking speed too, or risk exiting before all tests are run.
  • Loading branch information
garlick authored May 29, 2018
2 parents 6c5e49a + 819b0cd commit 279e275
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions diags/network.t
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ numtests=$numdev
for i in $(seq 0 $(($numdev - 1))); do
[ -n "${DIAG_NETWORK_MTU[$i]}" ] && numtests=$(($numtests + 1))
[ -n "${DIAG_NETWORK_MODE[$i]}" ] && numtests=$(($numtests + 1))
[ -n "${DIAG_NETWORK_SPEED[$i]}" ] && numtests=$(($numtests + 1))
done
diag_plan $(($numtests))

Expand Down

0 comments on commit 279e275

Please sign in to comment.