mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-01 01:01:51 +02:00
``` * use go 1.17 semantics in go.mod * pin tonistiigi/fsutil dep to match docker/docker's dep go get -u ./... go mod vendor ```
16 lines
318 B
Go
16 lines
318 B
Go
// +build windows plan9 netbsd aix illumos solaris
|
|
|
|
package copy
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
func setup(m *testing.M) {
|
|
os.MkdirAll("test/data.copy", os.ModePerm)
|
|
os.Symlink("test/data/case01", "test/data/case03/case01")
|
|
os.Chmod("test/data/case07/dir_0555", 0555)
|
|
os.Chmod("test/data/case07/file_0444", 0444)
|
|
}
|