1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 02:30:39 +08:00

add sharness test for deprecated supernode option

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen
2017-10-16 09:27:24 -07:00
parent a0bedf6a5b
commit 603ecf62e3

View File

@ -49,4 +49,13 @@ test_expect_success 'output contains info about dht option' '
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