Skip to content

Commit c7736f9

Browse files
nearora-msftk8s-infra-cherrypick-robot
authored andcommitted
test: skip the TestChmodIfPermissionMismatch test for windows
1 parent 53cb64c commit c7736f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/blob/blob_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323
"fmt"
2424
"os"
2525
"reflect"
26+
"runtime"
2627
"sort"
2728
"strings"
2829
"testing"
@@ -1508,6 +1509,10 @@ func TestIsSupportedContainerNamePrefix(t *testing.T) {
15081509
}
15091510

15101511
func TestChmodIfPermissionMismatch(t *testing.T) {
1512+
if runtime.GOOS == "windows" {
1513+
t.Skip("Skipping test on Windows")
1514+
}
1515+
15111516
permissionMatchingPath, _ := getWorkDirPath("permissionMatchingPath")
15121517
_ = makeDir(permissionMatchingPath)
15131518
defer os.RemoveAll(permissionMatchingPath)

0 commit comments

Comments
 (0)