lib/model: Disable symlink attack test on Windows

This commit is contained in:
Jakob Borg 2017-08-08 08:05:24 +02:00
parent f1f21bf220
commit a3c17f8f81

View File

@ -206,6 +206,10 @@ func TestRequestCreateTmpSymlink(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
// deleted symlink to escape