Skip to content

Commit

Permalink
Merge pull request #5684 from nalind/go-get-friendliness
Browse files Browse the repository at this point in the history
conformance: move weirdly-named files out of the repository
  • Loading branch information
openshift-merge-bot[bot] committed Aug 15, 2024
2 parents b5765b1 + d07c3df commit bb3ab31
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
22 changes: 19 additions & 3 deletions tests/conformance/conformance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1422,9 +1422,25 @@ var internalTestCases = []testCase{
},

{
name: "copy-escape-glob",
contextDir: "copy-escape-glob",
fsSkip: []string{"(dir):app:mtime", "(dir):app2:mtime", "(dir):app3:mtime", "(dir):app4:mtime", "(dir):app5:mtime"},
name: "copy-escape-glob",
contextDir: "copy-escape-glob",
fsSkip: []string{"(dir):app:mtime", "(dir):app2:mtime", "(dir):app3:mtime", "(dir):app4:mtime", "(dir):app5:mtime"},
tweakContextDir: func(t *testing.T, contextDir, _, _ string) error {
appDir := filepath.Join(contextDir, "app")
jklDir := filepath.Join(appDir, "jkl?")
require.NoError(t, os.Mkdir(jklDir, 0o700))
jklFile := filepath.Join(jklDir, "file.txt")
require.NoError(t, os.WriteFile(jklFile, []byte("another"), 0o600))
nopeDir := filepath.Join(appDir, "n?pe")
require.NoError(t, os.Mkdir(nopeDir, 0o700))
nopeFile := filepath.Join(nopeDir, "file.txt")
require.NoError(t, os.WriteFile(nopeFile, []byte("and also"), 0o600))
stuvDir := filepath.Join(appDir, "st*uv")
require.NoError(t, os.Mkdir(stuvDir, 0o700))
stuvFile := filepath.Join(stuvDir, "file.txt")
require.NoError(t, os.WriteFile(stuvFile, []byte("and yet"), 0o600))
return nil
},
dockerUseBuildKit: true,
},

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit bb3ab31

Please sign in to comment.