mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 12:20:03 +08:00
add sharness test for deprecated supernode option
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user