mirror of
https://github.com/vbatts/tar-split.git
synced 2024-12-18 19:46:29 +00:00
*: 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:
parent
ed1c08584d
commit
b9775006bf
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
package tartest
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
|
@ -11,7 +11,7 @@ import (
|
||||||
ourTar "github.com/vbatts/tar-split/archive/tar"
|
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) {
|
func BenchmarkUpstreamTar(b *testing.B) {
|
||||||
for n := 0; n < b.N; n++ {
|
for n := 0; n < b.N; n++ {
|
Loading…
Reference in a new issue