{
    "name"  : "硬盘分区格式是否正确",
    "problems" : {
        "flowError" : {
            "desc"      : "【问题】硬盘分区格式不正确。",
            "advice"    : "【建议】请联系400协助处理。"
        }
    }
}
---------------------------code-------------------------------
if get_share_value("IsOrNotEG2000K")=="yes" :
    return 'skip'
end

flag = 0
cli("run-system-shell")
res = cli("fdisk -l")
print res
resArr = res.match(/\bLinux\b/ig)
print resArr
if resArr == null :
    print 'warn'
	add_problem("flowError")
    return 'warn'
end
res = cli("mount")
print res
cli("exit")
resArr = res.match(/\bsata0 type \S+\b/)
resArr1 = res.match(/\busb0 type \S+\b/)
if resArr != null :
	resAr = resArr[0]
	re = resAr.match(/\bext3\b/)
	print re
	if re == null :
		print 'warn'
		add_problem("flowError")
		return 'warn'
	end
end
if resArr1 != null :
	resAr = resArr1[0]
	re = resAr.match(/\bext3\b/)
	if re == null :
		print 'warn'
		add_problem("flowError")
		return 'warn'
	end
end
print 'success'
return 'success'