diff options
author | Matt Clay <matt@mystile.com> | 2022-04-27 09:48:45 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2022-04-27 15:11:18 -0700 |
commit | cc872a57f2e04924a0fc31bf4fed6400d189e265 (patch) | |
tree | 09449cc46e46135db4071e9fb5e1d12587e5132b /test/integration/targets/ansible-doc | |
parent | 5c2d830dea986a8c7bd8c286b86bdce326cd7eb1 (diff) | |
download | ansible-cc872a57f2e04924a0fc31bf4fed6400d189e265.tar.gz |
Reduce output from ansible-doc integration test.
This removes about 20K lines of output which are not evaluated as part of the test.
Diffstat (limited to 'test/integration/targets/ansible-doc')
-rwxr-xr-x | test/integration/targets/ansible-doc/runme.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/targets/ansible-doc/runme.sh b/test/integration/targets/ansible-doc/runme.sh index 4d536e5410..f031239ba5 100755 --- a/test/integration/targets/ansible-doc/runme.sh +++ b/test/integration/targets/ansible-doc/runme.sh @@ -101,7 +101,7 @@ expected_out="$(sed 's/ *"filename": "[^"]*",$//' noop_vars_plugin.output)" test "$current_out" == "$expected_out" # just ensure it runs -ANSIBLE_LIBRARY='./nolibrary' ansible-doc --metadata-dump --playbook-dir /dev/null +ANSIBLE_LIBRARY='./nolibrary' ansible-doc --metadata-dump --playbook-dir /dev/null >/dev/null # create broken role argument spec mkdir -p broken-docs/collections/ansible_collections/testns/testcol/roles/testrole/meta @@ -125,7 +125,7 @@ argument_specs: EOF # ensure that --metadata-dump does not fail when --no-fail-on-errors is supplied -ANSIBLE_LIBRARY='./nolibrary' ansible-doc --metadata-dump --no-fail-on-errors --playbook-dir broken-docs testns.testcol +ANSIBLE_LIBRARY='./nolibrary' ansible-doc --metadata-dump --no-fail-on-errors --playbook-dir broken-docs testns.testcol >/dev/null # ensure that --metadata-dump does fail when --no-fail-on-errors is not supplied output=$(ANSIBLE_LIBRARY='./nolibrary' ansible-doc --metadata-dump --playbook-dir broken-docs testns.testcol 2>&1 | grep -c 'ERROR!' || true) |