Skip to content

Commit

Permalink
Add test cases about '-q'/'--no-output' option
Browse files Browse the repository at this point in the history
  • Loading branch information
Chikashi-Kato committed Oct 4, 2017
1 parent 8b67a8d commit 5c9486f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ echo '\\\\I\like\backslash\.\\\\' | $SLACKTEE '-t' 'Escape backslashes'
echo '"I am a double quote", it said.' | $SLACKTEE '-t' 'Escape double quote'
echo "I'm a single quote." | $SLACKTEE '-t' 'Escape single quote'

# Test 18: Suppress the output
echo "-- Suppress the standard output (-q) --"
cat $DATA | $SLACKTEE '-q' '-t' 'Suppress the standard output (-q)'

echo "-- Suppress the standard output (--no-output) --"
cat $DATA | $SLACKTEE '--no-output' '-t' 'Suppress the standard output (--no-output)'

echo "Test is done!"


0 comments on commit 5c9486f

Please sign in to comment.