mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-09 06:05:48 +02:00
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.11.0 to 1.12.0. - [Release notes](https://github.com/otiai10/copy/releases) - [Commits](https://github.com/otiai10/copy/compare/v1.11.0...v1.12.0) --- updated-dependencies: - dependency-name: github.com/otiai10/copy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
21 lines
571 B
Go
21 lines
571 B
Go
//go:build !windows && !plan9 && !netbsd && !aix && !illumos && !solaris && !js
|
|
// +build !windows,!plan9,!netbsd,!aix,!illumos,!solaris,!js
|
|
|
|
package copy
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
"testing"
|
|
)
|
|
|
|
func setup(m *testing.M) {
|
|
os.RemoveAll("test/data.copy")
|
|
os.MkdirAll("test/data.copy", os.ModePerm)
|
|
os.Symlink("test/data/case01", "test/data/case03/case01")
|
|
os.Chmod("test/data/case07/dir_0555", 0o555)
|
|
os.Chmod("test/data/case07/file_0444", 0o444)
|
|
syscall.Mkfifo("test/data/case11/foo/bar", 0o555)
|
|
Copy("test/data/case18/assets", "test/data/case18/assets.backup")
|
|
}
|