diff --git a/test/sharness/t0010-basic-commands.sh b/test/sharness/t0010-basic-commands.sh index 785e5f831..69cccef6d 100755 --- a/test/sharness/t0010-basic-commands.sh +++ b/test/sharness/t0010-basic-commands.sh @@ -21,6 +21,14 @@ test_expect_success "ipfs version output looks good" ' test_fsh cat version.txt ' +test_expect_success "ipfs version --all has all required fields" ' + ipfs version --all > version_all.txt && + grep "go-ipfs version" version_all.txt && + grep "Repo version" version_all.txt && + grep "System version" version_all.txt && + grep "Golang version" version_all.txt +' + test_expect_success "ipfs help succeeds" ' ipfs help >help.txt '