Commit bbe95b8a authored by Christian Couder's avatar Christian Couder

t0021: test 'ipfs config show'

License: MIT
Signed-off-by: default avatarChristian Couder <chriscool@tuxfamily.org>
parent 6801d3f7
......@@ -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
......
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