From 748c23481afbe003bbc1096d65b61c6dd75600da Mon Sep 17 00:00:00 2001 From: Julian Dax Date: Wed, 28 Dec 2016 17:36:06 +0100 Subject: [PATCH] Add sharness tests for colorful help License: MIT Signed-off-by: Julian Dax --- test/sharness/t0010-basic-commands.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/sharness/t0010-basic-commands.sh b/test/sharness/t0010-basic-commands.sh index 01566e01c26..494b274daca 100755 --- a/test/sharness/t0010-basic-commands.sh +++ b/test/sharness/t0010-basic-commands.sh @@ -80,4 +80,8 @@ test_expect_success "'ipfs commands --flags' output looks good" ' grep "ipfs repo gc --quiet / ipfs repo gc -q" commands.txt ' +test_expect_success "'ipfs --color' succeeds" ' + ipfs --color >commands.txt +' + test_done