*: move tar_benchmark to cmd/tar-split/

This fixes a new go-vet(1) error which has surfaced in Go HEAD.

  $ go vet ./...
  go build github.com/vbatts/tar-split: no non-test Go files in
  /home/travis/gopath/src/github.com/vbatts/tar-split

Signed-off-by: Aleksa Sarai <asarai@suse.de>
This commit is contained in:
Aleksa Sarai 2017-11-08 02:12:49 +11:00
parent ed1c08584d
commit b9775006bf
No known key found for this signature in database
GPG Key ID: 9E18AA267DDB8DB4
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
package tartest
package main
import (
"io"
@ -11,7 +11,7 @@ import (
ourTar "github.com/vbatts/tar-split/archive/tar"
)
var testfile = "./archive/tar/testdata/sparse-formats.tar"
var testfile = "../../archive/tar/testdata/sparse-formats.tar"
func BenchmarkUpstreamTar(b *testing.B) {
for n := 0; n < b.N; n++ {