set kernel, distro, and version for Mac OS
This commit is contained in:
parent
3c48d81edb
commit
24838a91c9
|
@ -247,6 +247,9 @@ sub getDistro {
|
|||
$version = runSysCmd("uname -r");
|
||||
} elsif ( $test =~ /Darwin/ ) {
|
||||
Debug("Mac OS distro detected.");
|
||||
$kernel = runSysCmd("uname -v");
|
||||
$distro = runSysCmd("uname");
|
||||
$version = runSysCmd("uname -r");
|
||||
} elsif ( $test =~ /SunOS|Solaris/ ) {
|
||||
Debug("Sun Solaris detected.");
|
||||
$kernel = runSysCmd("uname -v");
|
||||
|
|
Loading…
Reference in New Issue