mirror of
https://github.com/octoleo/syncthing.git
synced 2025-04-10 19:41:50 +00:00
lib/model: Disable symlink attack test on Windows
This commit is contained in:
parent
f1f21bf220
commit
a3c17f8f81
@ -206,6 +206,10 @@ func TestRequestCreateTmpSymlink(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestRequestVersioningSymlinkAttack(t *testing.T) {
|
func TestRequestVersioningSymlinkAttack(t *testing.T) {
|
||||||
|
if runtime.GOOS == "windows" {
|
||||||
|
t.Skip("no symlink support on Windows")
|
||||||
|
}
|
||||||
|
|
||||||
// Sets up a folder with trashcan versioning and tries to use a
|
// Sets up a folder with trashcan versioning and tries to use a
|
||||||
// deleted symlink to escape
|
// deleted symlink to escape
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user