summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn R Barker <john@johnrbarker.com>2017-01-03 15:53:16 +0000
committerPeter Sprygada <privateip@users.noreply.github.com>2017-01-03 10:53:16 -0500
commitc252ac1a7d1290cc170b190a40b628b959cfa91c (patch)
treec25c488d12dc279234cbc60505f6e648ced2c1f9
parent0296f70f07fb536e9ed52884ce373cb4bdb5bfe3 (diff)
downloadansible-c252ac1a7d1290cc170b190a40b628b959cfa91c.tar.gz
Make tests run on fresh install (#19566)
-rw-r--r--test/integration/targets/ops_command/tests/cli/contains.yaml6
-rw-r--r--test/integration/targets/ops_command/tests/cli/output.yaml2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/integration/targets/ops_command/tests/cli/contains.yaml b/test/integration/targets/ops_command/tests/cli/contains.yaml
index 37c01a5193..72aa284ccf 100644
--- a/test/integration/targets/ops_command/tests/cli/contains.yaml
+++ b/test/integration/targets/ops_command/tests/cli/contains.yaml
@@ -5,10 +5,10 @@
ops_command:
commands:
- show version
- - show interface GigabitEthernet0/0
+ - show interface eth1
wait_for:
- - "result[0] contains 15.6"
- - "result[1] contains GigabitEthernet0/0"
+ - "result[0] contains OpenSwitch"
+ - "result[1] contains 'Interface eth1'"
provider: "{{ cli }}"
register: result
diff --git a/test/integration/targets/ops_command/tests/cli/output.yaml b/test/integration/targets/ops_command/tests/cli/output.yaml
index 3292d1b2e8..00201850e5 100644
--- a/test/integration/targets/ops_command/tests/cli/output.yaml
+++ b/test/integration/targets/ops_command/tests/cli/output.yaml
@@ -16,7 +16,7 @@
ops_command:
commands:
- show version
- - show interfaces
+ - show interface
provider: "{{ cli }}"
register: result