提交 196bc045 作者: Brian Tiger Chow

test(bootstrap, config): ensure user-provided keys are protected

上级 bbaf7097
#!/bin/sh
#
# Copyright (c) 2015 Brian Holder-Chow Lin On
# MIT Licensed; see the LICENSE file in this repository.
#
test_description="Test user-provided config values"
. lib/test-lib.sh
test_init_ipfs
test_expect_success "bootstrap doesn't overwrite user-provided, top-level keys" '
ipfs config Foo.Bar baz &&
ipfs bootstrap rm --all &&
echo "baz" >expected &&
ipfs config Foo.Bar >actual &&
test_cmp expected actual
'
test_done
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论