1
0
Fork 0
mirror of synced 2024-11-30 03:55:35 -05:00
dotbot/test/tests/shell-compact-stdout.bash

23 lines
378 B
Bash
Raw Normal View History

2017-06-28 00:20:37 -04:00
test_description='shell command stdout works in compact form'
. '../test-lib.bash'
test_expect_success 'run' '
(run_dotbot | grep "^apple") <<EOF
- defaults:
shell:
stdout: true
- shell:
- echo apple
EOF
'
test_expect_success 'run 2' '
(run_dotbot | grep "^apple") <<EOF
- defaults:
shell:
stdout: true
- shell:
- [echo apple, "echoing message"]
EOF
'