mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-30 18:13:54 +08:00
Add test for version --all
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
@ -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
|
||||
'
|
||||
|
Reference in New Issue
Block a user