Add test for FreeBSD
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1395965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f381f00df8
commit
49685a4156
|
@ -185,6 +185,10 @@ public class SystemUtilsTest {
|
|||
assertTrue(SystemUtils.IS_OS_SUN_OS);
|
||||
assertTrue(SystemUtils.IS_OS_UNIX);
|
||||
assertFalse(SystemUtils.IS_OS_WINDOWS);
|
||||
} else if (osName.startsWith("FreeBSD")) {
|
||||
assertTrue(SystemUtils.IS_OS_FREE_BSD);
|
||||
assertTrue(SystemUtils.IS_OS_UNIX);
|
||||
assertFalse(SystemUtils.IS_OS_WINDOWS);
|
||||
} else {
|
||||
System.out.println("Can't test IS_OS value: "+osName);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue