diff --git a/distbuild/pkg/tarstream/stream_test.go b/distbuild/pkg/tarstream/stream_test.go index b6e424f..2a7c9e5 100644 --- a/distbuild/pkg/tarstream/stream_test.go +++ b/distbuild/pkg/tarstream/stream_test.go @@ -56,8 +56,8 @@ func TestTarStream(t *testing.T) { require.Equal(t, content, b) } - checkFile(filepath.Join(from, "a", "x.bin"), []byte("xxx"), 0755) - checkFile(filepath.Join(from, "b", "c", "y.txt"), []byte("yyy"), 0644) + checkFile(filepath.Join(to, "a", "x.bin"), []byte("xxx"), 0755) + checkFile(filepath.Join(to, "b", "c", "y.txt"), []byte("yyy"), 0644) } func init() { diff --git a/go.sum b/go.sum index 86c40e8..8431ab2 100644 --- a/go.sum +++ b/go.sum @@ -10,6 +10,7 @@ github.com/aclements/go-gg v0.0.0-20170118225347-6dbb4e4fefb0/go.mod h1:55qNq4vc github.com/aclements/go-moremath v0.0.0-20161014184102-0ff62e0875ff/go.mod h1:idZL3yvz4kzx1dsBOAC+oYv6L92P1oFEhUXUB1A/lwQ= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/bkaradzic/go-lz4 v1.0.0/go.mod h1:0YdlkowM3VswSROI7qDxhRvJ3sLhlFrRRwjwegp5jy4= +github.com/cloudflare/golz4 v0.0.0-20150217214814-ef862a3cdc58 h1:F1EaeKL/ta07PY/k9Os/UFtwERei2/XzGemhpGnBKNg= github.com/cloudflare/golz4 v0.0.0-20150217214814-ef862a3cdc58/go.mod h1:EOBUe0h4xcZ5GoxqC5SDxFQ8gwyZPKQoEzownBlhI80= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=