mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-05 02:03:09 +00:00
Merge pull request #717 from willthames/fix_osx_tests3
Fixes for OS X tests
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user