fix: 修复pingtest和speedtest在无root权限环境下的鉴权问题

This commit is contained in:
spiritlhl
2025-07-01 12:06:59 +00:00
parent 5a6d6845c1
commit ca0470f01a
5 changed files with 14 additions and 14 deletions

View File

@@ -29,7 +29,8 @@ func DiskTest(language, testMethod, testPath string, isMultiCheck bool, autoChan
res += disk.FioTest(language, isMultiCheck, testPath)
}
default:
res = "Unsupported test method specified.\n"
res = "Unsupported test method specified, switching to DD for testing.\n"
res += disk.DDTest(language, isMultiCheck, testPath)
}
}
//fmt.Println("--------------------------------------------------")