diff --git a/bindings/java/src/org/hyperic/sigar/test/TestWho.java b/bindings/java/src/org/hyperic/sigar/test/TestWho.java index 2fc7d0b2..0bd4bf09 100644 --- a/bindings/java/src/org/hyperic/sigar/test/TestWho.java +++ b/bindings/java/src/org/hyperic/sigar/test/TestWho.java @@ -18,7 +18,8 @@ package org.hyperic.sigar.test; -import org.hyperic.sigar.OperatingSystem; +import java.util.Date; + import org.hyperic.sigar.SigarException; import org.hyperic.sigar.Who; @@ -29,10 +30,18 @@ public class TestWho extends SigarTestCase { } public void testWho() throws SigarException { - if (OperatingSystem.IS_WIN32) { - return; - } + traceln(""); Who[] who = getSigar().getWhoList(); - assertTrue(who.length > 0); + for (int i=0; i