Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9ef06f23d |
@@ -475,7 +475,7 @@ func TestFetchRefusesSymlinks(t *testing.T) {
|
||||
outside := t.TempDir()
|
||||
|
||||
chdirTemp(t)
|
||||
require.NoError(t, os.MkdirAll(filepath.Dir(tt.link), 0o755))
|
||||
require.NoError(t, os.MkdirAll(filepath.Dir(tt.link), 0o750))
|
||||
require.NoError(t, os.Symlink(filepath.Join(outside, tt.target), tt.link))
|
||||
|
||||
opts := testOpts([]string{testApp, "fetch", "-q", server.URL}, afero.NewOsFs())
|
||||
|
||||
Reference in New Issue
Block a user