Skip to content

Commit

Permalink
debug: mklink
Browse files Browse the repository at this point in the history
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
  • Loading branch information
vvoland committed Jun 7, 2023
1 parent 1d1fff9 commit b301fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/volume/mount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func setupTestVolume(t *testing.T, client client.APIClient) (string, func(...str
"mkdir C:\\\\volume\\\\hack\\\\iwanttobehackedwithtoctou &&" +
"powershell New-Item -Type SymbolicLink -Target C:\\\\ -Path C:\\\\volume\\\\hack\\\\root && " +
"cd C:\\\\volume\\\\hack && powershell New-Item -Type SymbolicLink -Target ..\\\\subdir -Path C:\\\\volume\\\\hack\\\\good && " +
"powershell New-Item -Type SymbolicLink -Target .\\\\root -Name bad"
"mklink /d bad .\\\\root"

hack = func(target string) <-chan container.ContainerOutput {
return container.Output(ctx, t, client,
Expand Down

0 comments on commit b301fa1

Please sign in to comment.