@@ -0,0 +1,380 @@
+package probos;%0A%0Aimport static org.junit.Assert.*;%0Aimport jnr.posix.POSIX;%0Aimport jnr.posix.POSIXFactory;%0A%0Aimport org.junit.Test;%0A%0Apublic class TestPosix %7B%0A%09//static final %0A%0A%09@Test public void testGroup()%0A%09%7B%0A%09%09POSIX posix = POSIXFactory.getPOSIX();%0A%09%09System.err.println(posix.isNative());%0A%09%09String egroup = posix.getgrgid(posix.getegid()).getName();%0A%09%09assertNotNull(egroup);%0A%09%7D%0A%7D%0A

Check posix calls work on this platform