summaryrefslogtreecommitdiff
path: root/test/tests/shell-disables-stdout.bash
diff options
context:
space:
mode:
authorAnish Athalye <me@anishathalye.com>2015-05-05 19:58:25 -0400
committerAnish Athalye <me@anishathalye.com>2015-05-05 20:11:46 -0400
commiteeab507d151351b3643b6608cd3a68863234f3e6 (patch)
tree205824cd0640a6121bdf93d3ee31527c62dbf757 /test/tests/shell-disables-stdout.bash
parent49181b06660c8fd66873676001500db52b1f8b68 (diff)
Add testing framework and tests
Diffstat (limited to 'test/tests/shell-disables-stdout.bash')
-rw-r--r--test/tests/shell-disables-stdout.bash9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/tests/shell-disables-stdout.bash b/test/tests/shell-disables-stdout.bash
new file mode 100644
index 0000000..8f4408f
--- /dev/null
+++ b/test/tests/shell-disables-stdout.bash
@@ -0,0 +1,9 @@
+test_description='shell command stdout disabled by default'
+. '../test-lib.bash'
+
+test_expect_success 'run' '
+(run_dotbot | (! grep "^banana")) <<EOF
+- shell:
+ - echo banana
+EOF
+'