Add potential work-around for expect on macOS.

http://pexpect.readthedocs.io/en/stable/commonissues.html#truncated-output-just-before-child-exits
This commit is contained in:
Matt Clay 2017-07-31 13:09:29 -07:00
parent dae8857d3d
commit 0c7602fb59

View file

@ -61,7 +61,7 @@
- name: test chdir
expect:
command: "pwd"
command: "/bin/sh -c 'pwd && sleep 1'"
chdir: "{{output_dir}}"
responses:
foo: bar