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