diff --git a/test/Makefile b/test/Makefile
index 91304ae87e0edbb2a0606042d0104f98ad26197e..868eac731deaa58f72536c50e01ddbd8b8428161 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -4,7 +4,7 @@ IPFS_ROOT = ../
 IPFS_CMD = ../cmd/ipfs
 RANDOM_SRC = ../Godeps/_workspace/src/github.com/jbenet/go-random
 MULTIHASH_SRC = ../Godeps/_workspace/src/github.com/jbenet/go-multihash
-POLLENDPOINT_SRC= ../cmd/pollEndpoint
+POLLENDPOINT_SRC= ../thirdparty/pollEndpoint
 
 all: deps
 
diff --git a/cmd/pollEndpoint/main.go b/thirdparty/pollEndpoint/main.go
similarity index 100%
rename from cmd/pollEndpoint/main.go
rename to thirdparty/pollEndpoint/main.go