Add another negative test for the parser logic.

This commit is contained in:
Michael DeHaan 2014-07-24 20:57:03 -04:00
commit 3adddf4836
2 changed files with 10 additions and 1 deletions

View file

@ -20,8 +20,9 @@
# otherwise ansible stops at the first one and we want to ensure STOP conditions for each
- set_fact:
test_file: "./ansible_test_file" # FIXME, use set tempdir
test_file: "{{ output_dir }}/ansible_test_file" # FIXME, use set tempdir
test_input: "owner=test"
bad_var: "{{ output_dir }}' owner=test"
chdir: "mom chdir=/tmp"
tags: common
@ -43,3 +44,10 @@
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