提交 603ecf62 作者: Steven Allen

add sharness test for deprecated supernode option

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 a0bedf6a
...@@ -49,4 +49,13 @@ test_expect_success 'output contains info about dht option' ' ...@@ -49,4 +49,13 @@ test_expect_success 'output contains info about dht option' '
test_fsh cat daemon_output test_fsh cat daemon_output
' '
test_expect_success 'daemon should not start with supernode dht opt' '
test_must_fail ipfs daemon --routing=supernode > daemon_output2 2>&1
'
test_expect_success 'output contains info about supernode dht option' '
grep "supernode routing was never fully implemented" daemon_output2 ||
test_fsh cat daemon_output2
'
test_done test_done
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论