mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 21:12:07 +00:00
Fix file mode condition for host_path storage test
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
parent
f137c47770
commit
766c6706c4
@ -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
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user