Merge pull request #100836 from dims/fix-file-mode-condition-for-host_path-storage-test

Fix file mode condition for host_path storage test
This commit is contained in:
Kubernetes Prow Robot 2021-04-10 19:03:39 -07:00 committed by GitHub
commit e188a36408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,8 +56,8 @@ var _ = SIGDescribe("HostPath", func() {
fmt.Sprintf("--fs_type=%v", volumePath),
fmt.Sprintf("--file_mode=%v", volumePath),
}
f.TestContainerOutput("hostPath mode", pod, 0, []string{
"mode of file \"/test-volume\": dtrwxrwx", // we expect the sticky bit (mode flag t) to be set for the dir
f.TestContainerOutputRegexp("hostPath mode", pod, 0, []string{
"mode of file \"/test-volume\": dg?trwxrwx", // we expect the sticky bit (mode flag t) to be set for the dir
})
})