mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #717 from willthames/fix_osx_tests3
Fixes for OS X tests
This commit is contained in:
commit
45bf88b78c
2 changed files with 3 additions and 3 deletions
|
@ -128,7 +128,7 @@ class TestRunner(unittest.TestCase):
|
||||||
assert result['stdout'] == 'hi'
|
assert result['stdout'] == 'hi'
|
||||||
assert result['stderr'] == ''
|
assert result['stderr'] == ''
|
||||||
|
|
||||||
result = self._run('command', [ "/bin/false" ])
|
result = self._run('command', [ "false" ])
|
||||||
assert result['rc'] == 1
|
assert result['rc'] == 1
|
||||||
assert 'failed' not in result
|
assert 'failed' not in result
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,10 @@
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: test basic success command
|
- name: test basic success command
|
||||||
action: command /bin/true
|
action: command true
|
||||||
|
|
||||||
- name: test basic success command 2
|
- name: test basic success command 2
|
||||||
action: command /bin/true
|
action: command true
|
||||||
|
|
||||||
- name: test basic shell, plus two ways to dereference a variable
|
- name: test basic shell, plus two ways to dereference a variable
|
||||||
action: shell echo $HOME $port {{ port }}
|
action: shell echo $HOME $port {{ port }}
|
||||||
|
|
Loading…
Reference in a new issue