diff --git a/test/TestRunner.py b/test/TestRunner.py index ed429683ed6..cd964daaae0 100644 --- a/test/TestRunner.py +++ b/test/TestRunner.py @@ -128,7 +128,7 @@ class TestRunner(unittest.TestCase): assert result['stdout'] == 'hi' assert result['stderr'] == '' - result = self._run('command', [ "/bin/false" ]) + result = self._run('command', [ "false" ]) assert result['rc'] == 1 assert 'failed' not in result diff --git a/test/playbook1.yml b/test/playbook1.yml index 9778bd6c87e..bd98e036be3 100644 --- a/test/playbook1.yml +++ b/test/playbook1.yml @@ -18,10 +18,10 @@ tasks: - name: test basic success command - action: command /bin/true + action: command true - name: test basic success command 2 - action: command /bin/true + action: command true - name: test basic shell, plus two ways to dereference a variable action: shell echo $HOME $port {{ port }}