Commit a8fa9dd0 authored by Steven Allen's avatar Steven Allen

test: dht put/get round trips

License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent cc2ab147
......@@ -35,6 +35,12 @@ test_dht() {
[ -s putted ] ||
test_fsh cat putted
'
test_expect_success 'put round trips' '
echo -n "$TEST_DHT_VALUE" >expected &&
ipfsi 0 dht get "$TEST_DHT_PATH" >actual &&
test_cmp actual expected
'
# ipfs dht get <key>
test_expect_success 'get with good keys' '
......
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