From 20eb0c865ca5b64325b703f93e25589838ec31cb Mon Sep 17 00:00:00 2001 From: Stephen Whitmore Date: Mon, 25 Apr 2016 12:28:30 -0700 Subject: [PATCH] Removes unnecessary daemon setup. License: MIT Signed-off-by: Stephen Whitmore --- core/commands/dht.go | 4 ++-- test/sharness/t0235-cli-request.sh | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/core/commands/dht.go b/core/commands/dht.go index 7b504e5f2f0..36a571da41c 100644 --- a/core/commands/dht.go +++ b/core/commands/dht.go @@ -35,8 +35,8 @@ var DhtCmd = &cmds.Command{ var queryDhtCmd = &cmds.Command{ Helptext: cmds.HelpText{ - Tagline: "Find the closest peers to a given key.", - ShortDescription: ``, + Tagline: "Find the closest Peer IDs to a given Peer ID by querying the DHT.", + ShortDescription: "Outputs a list of newline-delimited Peer IDs.", }, Arguments: []cmds.Argument{ diff --git a/test/sharness/t0235-cli-request.sh b/test/sharness/t0235-cli-request.sh index f795efde9d8..9c28843e824 100755 --- a/test/sharness/t0235-cli-request.sh +++ b/test/sharness/t0235-cli-request.sh @@ -9,7 +9,6 @@ test_description="test http requests made by cli" . lib/test-lib.sh test_init_ipfs -test_launch_ipfs_daemon test_expect_success "can make http request against nc server" ' go-sleep 0.5s | nc -l 5005 > nc_out & @@ -28,6 +27,4 @@ test_expect_success "api flag does not appear in request" ' test_expect_code 1 grep "api=/ip4" nc_out ' -test_kill_ipfs_daemon - test_done