summaryrefslogtreecommitdiff
path: root/test/integration/targets/ansible-doc
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/ansible-doc')
-rw-r--r--test/integration/targets/ansible-doc/filter_plugins/other.py1
l---------test/integration/targets/ansible-doc/filter_plugins/split.yml1
-rwxr-xr-xtest/integration/targets/ansible-doc/runme.sh5
3 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/targets/ansible-doc/filter_plugins/other.py b/test/integration/targets/ansible-doc/filter_plugins/other.py
index fcc1e10d30..5619fb299d 100644
--- a/test/integration/targets/ansible-doc/filter_plugins/other.py
+++ b/test/integration/targets/ansible-doc/filter_plugins/other.py
@@ -20,4 +20,5 @@ class FilterModule(object):
return {
'donothing': donothing,
'nodocs': donothing,
+ 'split': donothing,
}
diff --git a/test/integration/targets/ansible-doc/filter_plugins/split.yml b/test/integration/targets/ansible-doc/filter_plugins/split.yml
new file mode 120000
index 0000000000..7fad18925d
--- /dev/null
+++ b/test/integration/targets/ansible-doc/filter_plugins/split.yml
@@ -0,0 +1 @@
+donothing.yml \ No newline at end of file
diff --git a/test/integration/targets/ansible-doc/runme.sh b/test/integration/targets/ansible-doc/runme.sh
index fcb858b829..ef392cf396 100755
--- a/test/integration/targets/ansible-doc/runme.sh
+++ b/test/integration/targets/ansible-doc/runme.sh
@@ -175,3 +175,8 @@ ansible-doc --list --module-path ./modules > /dev/null
# ensure we dedupe by fqcn and not base name
#[ "$(ansible-doc -l -t filter --playbook-dir ./ |grep 'b64decode' | wc -l)" -eq "2"]
+
+# with playbook dir, legacy should override
+ansible-doc -t filter split --playbook-dir ./ |grep histerical
+# without playbook dir, builtin should return
+ansible-doc -t filter split |grep -v histerical