Commit 8a3bf953 authored by Christian Couder's avatar Christian Couder

t0010: add tests for 'ipfs commands --flags'

License: MIT
Signed-off-by: default avatarChristian Couder <chriscool@tuxfamily.org>
parent 289e74ce
......@@ -49,4 +49,14 @@ test_expect_success "All commands accept --help" '
done <commands.txt
'
test_expect_success "'ipfs commands --flags' succeeds" '
ipfs commands --flags >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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment