title: go test coverprofile cannot find package
body: <p>When I try the following</p>
  
  <pre><code>go test -coverprofile=coverage.out
  </code></pre>
  
  <p>I get this coverage.out:</p>
  
  <pre><code>mode: set
  _/Users/gert/Desktop/httx/auth.go:10.66,11.54 1 0
  _/Users/gert/Desktop/httx/auth.go:11.54,13.89 2 0
  _/Users/gert/Desktop/httx/auth.go:17.3,17.11 1 0
  _/Users/gert/Desktop/httx/auth.go:13.89,16.4 2 0
  _/Users/gert/Desktop/httx/auth.go:22.42,25.2 2 0
  ...
  </code></pre>
  
  <p>But when I then do</p>
  
  <pre><code>go tool cover -func=coverage.out
  </code></pre>
  
  <p>coverage.out doesn't seem to be correctly formatted?</p>
  
  <pre><code>cover: can't find "auth.go": cannot find package "_/Users/gert/Desktop/httx/" in any of:                                     
          /usr/local/Cellar/go/1.7.1/libexec/src/_/Users/gert/Desktop/httx (from $GOROOT)                                      
          /Users/gert/go/src/_/Users/gert/Desktop/httx (from $GOPATH)
  </code></pre>
  
  <p>EDIT: Note that <code>go test -cover</code> works. </p>
  
  <pre><code>PASS                                                                                                                         
  coverage: 29.7% of statements                                                                                                
  ok      _/Users/gert/Desktop/httx       0.015s
  </code></pre>