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:
Sebastian Bazley 2012-10-09 11:02:02 +00:00
parent f381f00df8
commit 49685a4156
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}