replaced usage of powershell commands with linux commands

This commit is contained in:
Mauricio Poppe
2021-04-05 18:19:27 +00:00
parent f0d7e9c9d1
commit 7aa8a497df
3 changed files with 3 additions and 12 deletions

View File

@@ -616,9 +616,6 @@ func generateWriteFileCmd(content, fullPath string) []string {
// CheckVolumeModeOfPath check mode of volume
func CheckVolumeModeOfPath(f *framework.Framework, pod *v1.Pod, volMode v1.PersistentVolumeMode, path string) {
if volMode == v1.PersistentVolumeBlock {
// NOTE: gcepd-csi doesn't support a block volume in windows, this method won't
// be called because the test is skipped
// Check if block exists
VerifyExecInPodSucceed(f, pod, fmt.Sprintf("test -b %s", path))