From 8a3bf95365a6b60a0515d7ecb6aeb43f4ad25973 Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Mon, 19 Oct 2015 15:34:08 +0200 Subject: [PATCH] t0010: add tests for 'ipfs commands --flags' License: MIT Signed-off-by: Christian Couder --- test/sharness/t0010-basic-commands.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/sharness/t0010-basic-commands.sh b/test/sharness/t0010-basic-commands.sh index 2b8e8dd80..030d2cfbe 100755 --- a/test/sharness/t0010-basic-commands.sh +++ b/test/sharness/t0010-basic-commands.sh @@ -49,4 +49,14 @@ test_expect_success "All commands accept --help" ' done commands.txt +' + +test_expect_success "'ipfs commands --flags' output looks good" ' + grep "ipfs pin add --recursive / ipfs pin add -r" commands.txt && + grep "ipfs id --format / ipfs id -f" commands.txt && + grep "ipfs repo gc --quiet / ipfs repo gc -q" commands.txt +' + test_done