From dc057866935db382d3be8559d7079b122235ff51 Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Wed, 21 Nov 2018 19:48:24 -0500 Subject: Add test --- test/tests/shell-quiet.bash | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 test/tests/shell-quiet.bash (limited to 'test') diff --git a/test/tests/shell-quiet.bash b/test/tests/shell-quiet.bash new file mode 100644 index 0000000..a69f6c5 --- /dev/null +++ b/test/tests/shell-quiet.bash @@ -0,0 +1,30 @@ +test_description='shell command can be suppressed in output' +. '../test-lib.bash' + +# when not quiet, expect to see command that was run +test_expect_success 'run' ' +(run_dotbot | grep "echo banana") <