diff --git a/test/integration/targets/expect/tasks/main.yml b/test/integration/targets/expect/tasks/main.yml index 28cbeb59552..887e1b22035 100644 --- a/test/integration/targets/expect/tasks/main.yml +++ b/test/integration/targets/expect/tasks/main.yml @@ -57,7 +57,7 @@ - name: test chdir expect: - command: "pwd" + command: "/bin/sh -c 'pwd && sleep 1'" chdir: "{{output_dir}}" responses: foo: bar