diff options
author | Anish Athalye <me@anishathalye.com> | 2017-06-27 21:20:37 -0700 |
---|---|---|
committer | Anish Athalye <me@anishathalye.com> | 2017-06-27 21:27:50 -0700 |
commit | f1e829725506813276c0dff21f6e6bfff9873444 (patch) | |
tree | dc0d5ae442d484177d5467c5a132793cf4a2cc21 /test/tests/shell-override-default.bash | |
parent | 0b01d56d81c33f8b665487f5a64f2d69b2a645f0 (diff) |
Fix bug with shell defaults
Diffstat (limited to 'test/tests/shell-override-default.bash')
-rw-r--r-- | test/tests/shell-override-default.bash | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/tests/shell-override-default.bash b/test/tests/shell-override-default.bash new file mode 100644 index 0000000..8ca6264 --- /dev/null +++ b/test/tests/shell-override-default.bash @@ -0,0 +1,14 @@ +test_description='shell command can override default' +. '../test-lib.bash' + +test_expect_success 'run' ' +(run_dotbot | (! grep "^apple")) <<EOF +- defaults: + shell: + stdout: true +- shell: + - + command: echo apple + stdout: false +EOF +' |