Commit a93dbf6d authored by Juan Benet's avatar Juan Benet

Merge pull request #1913 from ipfs/test-ipfs-config

t0021: test 'ipfs config show'
parents 933b9733 bbe95b8a
......@@ -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