Commit bbda86ad by Toshio Kuratomi

Fix parsing tests so that they all run

parent b94e2a1f
...@@ -29,24 +29,20 @@ ...@@ -29,24 +29,20 @@
- file: name={{test_file}} state=touch - file: name={{test_file}} state=touch
tags: common tags: common
- name: test that we cannot insert arguments - name: include test that we cannot insert arguments
file: path={{ test_file }} {{ test_input }} include: scenario1.yml
failed_when: False # ignore the module, just test the parser
tags: scenario1 tags: scenario1
- name: test that we cannot duplicate arguments - name: include test that we cannot duplicate arguments
file: path={{ test_file }} owner=test2 {{ test_input }} include: scenario2.yml
failed_when: False # ignore the module, just test the parser
tags: scenario2 tags: scenario2
- name: test that we can't do this for the shell module - name: include test that we can't do this for the shell module
shell: echo hi {{ chdir }} include: scneario3.yml
failed_when: False
tags: scenario3 tags: scenario3
- name: test that we can't go all Little Bobby Droptables on a quoted var to add more - name: include test that we can't go all Little Bobby Droptables on a quoted var to add more
file: "name={{ bad_var }}" include: scenario4.yml
failed_when: False
tags: scenario4 tags: scenario4
- name: test that a missing/malformed jinja2 filter fails - name: test that a missing/malformed jinja2 filter fails
......
- name: test that we cannot insert arguments
file: path={{ test_file }} {{ test_input }}
failed_when: False # ignore the module, just test the parser
tags: scenario1
- name: test that we cannot duplicate arguments
file: path={{ test_file }} owner=test2 {{ test_input }}
failed_when: False # ignore the module, just test the parser
tags: scenario2
- name: test that we can't do this for the shell module
shell: echo hi {{ chdir }}
failed_when: False
tags: scenario3
- name: test that we can't go all Little Bobby Droptables on a quoted var to add more
file: "name={{ bad_var }}"
failed_when: False
tags: scenario4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment