summaryrefslogtreecommitdiff
path: root/test/tests/shell-allow-stdout.bash
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests/shell-allow-stdout.bash')
-rw-r--r--test/tests/shell-allow-stdout.bash11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/tests/shell-allow-stdout.bash b/test/tests/shell-allow-stdout.bash
new file mode 100644
index 0000000..298e685
--- /dev/null
+++ b/test/tests/shell-allow-stdout.bash
@@ -0,0 +1,11 @@
+test_description='shell command stdout works'
+. '../test-lib.bash'
+
+test_expect_success 'run' '
+(run_dotbot | grep "^apple") <<EOF
+- shell:
+ -
+ command: echo apple
+ stdout: true
+EOF
+'