1
0
mirror of https://github.com/Oxalide/vsphere-influxdb-go.git synced 2023-10-10 11:36:51 +00:00

add vendoring with go dep

This commit is contained in:
Adrian Todorov
2017-10-25 20:52:40 +00:00
parent 704f4d20d1
commit a59409f16b
1627 changed files with 489673 additions and 0 deletions

20
vendor/github.com/vmware/govmomi/govc/test/firewall.bats generated vendored Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bats
load test_helper
@test "firewall.ruleset.find" {
# Assumes sshServer ruleset is enabled
run govc firewall.ruleset.find -direction inbound -port 22
assert_success
run govc firewall.ruleset.find -direction outbound -port 22
if [ "$status" -eq 1 ] ; then
# If outbound port 22 is blocked, we should be able to list disabled rules via:
run govc firewall.ruleset.find -direction outbound -port 22 -enabled=false
assert_success
# find disabled should include sshClient ruleset in output
result=$(govc firewall.ruleset.find -direction outbound -port 22 -enabled=false | grep sshClient | wc -l)
[ $result -eq 1 ]
fi
}