mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-11 19:27:51 +08:00
Merge pull request #1913 from ipfs/test-ipfs-config
t0021: test 'ipfs config show'
This commit is contained in:
commit
a93dbf6d01
@ -61,6 +61,16 @@ test_config_cmd() {
|
||||
test_config_cmd_set "--json" "deep-null" "null"
|
||||
test_config_cmd_set "--json" "deep-null.prop" "true"
|
||||
|
||||
test_expect_success "'ipfs config show' works" '
|
||||
ipfs config show >actual
|
||||
'
|
||||
|
||||
test_expect_success "'ipfs config show' output looks good" '
|
||||
grep "\"beep\": \"boop\"," actual &&
|
||||
grep "\"beep1\": \"boop2\"," actual &&
|
||||
grep "\"beep2\": false," actual &&
|
||||
grep "\"beep3\": false," actual
|
||||
'
|
||||
}
|
||||
|
||||
test_init_ipfs
|
||||
|
||||
Loading…
Reference in New Issue
Block a user