Skip to content

Commit

Permalink
lib/model: Disable symlink attack test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh committed Aug 8, 2017
1 parent f1f21bf commit a3c17f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/model/requests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a3c17f8

Please sign in to comment.