diff --git a/bindings/java/src/org/hyperic/sigar/test/TestCpuInfo.java b/bindings/java/src/org/hyperic/sigar/test/TestCpuInfo.java index 73ef8f0d..cc842167 100644 --- a/bindings/java/src/org/hyperic/sigar/test/TestCpuInfo.java +++ b/bindings/java/src/org/hyperic/sigar/test/TestCpuInfo.java @@ -40,6 +40,8 @@ public class TestCpuInfo extends SigarTestCase { traceln("model=" + info.getModel()); traceln("mhz=" + info.getMhz()); traceln("cache size=" + info.getCacheSize()); + assertGtZeroTrace("totalSockets", info.getTotalSockets()); + assertGtZeroTrace("totalCores", info.getTotalCores()); assertTrue(info.getTotalSockets() <= info.getTotalCores()); }