From 3b0a6af2d2bcf260447d132ffdfe1427aba902e1 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 20 Nov 2004 19:18:32 +0000 Subject: [PATCH] valid for packets == 0 --- bindings/java/src/net/hyperic/sigar/test/TestNetIf.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/java/src/net/hyperic/sigar/test/TestNetIf.java b/bindings/java/src/net/hyperic/sigar/test/TestNetIf.java index 90ca5460..c7450471 100644 --- a/bindings/java/src/net/hyperic/sigar/test/TestNetIf.java +++ b/bindings/java/src/net/hyperic/sigar/test/TestNetIf.java @@ -37,8 +37,8 @@ public class TestNetIf extends SigarTestCase { try { NetInterfaceStat ifstat = sigar.getNetInterfaceStat(name); - assertGtZeroTrace("RxPackets", ifstat.getRxPackets()); - assertGtZeroTrace("TxPackets", ifstat.getTxPackets()); + assertGtEqZeroTrace("RxPackets", ifstat.getRxPackets()); + assertGtEqZeroTrace("TxPackets", ifstat.getTxPackets()); } catch (SigarNotImplementedException e) { //ok } catch (SigarException e) {