move passwd policy test to BVT cycle

This commit is contained in:
weiil 2016-04-06 11:44:29 +08:00
Родитель 1a4eee07a3
Коммит 939b36d4fa
3 изменённых файлов: 8 добавлений и 10 удалений

Просмотреть файл

@ -3274,17 +3274,17 @@
<TestID>AzureBVT_027</TestID>
</test>
<test>
<testName>ICA-PASSWD-POLICY-TEST</testName>
<testScript>ICA-PASSWD-POLICY-TEST.py</testScript>
<testScriptPs1>ICA-PASSWD-POLICY-TEST.ps1</testScriptPs1>
<files>.\remote-scripts\ICA-PASSWD-POLICY-TEST.py,.\remote-scripts\azuremodules.py</files>
<testName>BVT-PASSWD-POLICY-TEST</testName>
<testScript>BVT-PASSWD-POLICY-TEST.py</testScript>
<testScriptPs1>BVT-PASSWD-POLICY-TEST.ps1</testScriptPs1>
<files>.\remote-scripts\BVT-PASSWD-POLICY-TEST.py,.\remote-scripts\azuremodules.py</files>
<setupType>BVTDeployment</setupType>
<TestType>
</TestType>
<TestFeature>
</TestFeature>
<SupportedExecutionModes>AzureServiceManagement,AzureResourceManager</SupportedExecutionModes>
<TestID></TestID>
<TestID>AzureBVT_029</TestID>
</test>
<test>
<testName>ICA-VERIFY-RDMA</testName>

Просмотреть файл

@ -81,9 +81,8 @@ def RunTest():
dist, ver, _ = DetectDist()
failure = 0
if dist.upper() == "COREOS":
RunLog.info('CoreOS is not supported in automation by now. Still in investigation.')
return
if (dist == "SUSE Linux Enterprise Server" and ver == "12" and DetectSLESServicePatch() == '1') or dist == "Red Hat Enterprise Linux Server":
RunLog.info('CoreOS is not supported in automation by now. Still in investigation, now mark with PASS')
elif (dist == "SUSE Linux Enterprise Server" and ver == "12" and DetectSLESServicePatch() == '1') or dist == "Red Hat Enterprise Linux Server":
for t,p in test_matrix_password.items():
RunLog.info('Part: %s' % t)
if(ChangePwd(p[0]) == p[1]):
@ -94,8 +93,7 @@ def RunTest():
RunLog.info('')
# will adjust automation of other distro in future
else:
RunLog.info('Will adjust automation of other distro acordding to their characteristic in future')
return
RunLog.info('Will adjust automation of other distro acordding to their characteristic in future, now mark with PASS')
if not failure:
ResultLog.info('PASS')