fix defect 4314 update for ubuntu specific case support

This commit is contained in:
litingt 2014-10-23 19:06:34 -07:00
parent be7dea96d5
commit ad0118ddf9

View File

@ -539,7 +539,10 @@ sub loadcase
$cases[$i]->{os}="Linux";
}elsif($string1 =~ /^sles\s*/ && -f "/etc/SuSE-release"){
$cases[$i]->{os}="Linux";
}else{
}elsif($string1 =~ /^ubuntu\s*/ && -f "/etc/lsb-release"){
$cases[$i]->{os}="Linux";
}
else{
$cases[$i]->{os}=$string1;
}