freebsd fixup
This commit is contained in:
parent
f8a7c94beb
commit
07e8e4fc9c
|
@ -19,8 +19,10 @@ public class TestProcState extends SigarTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
ProcState procState = sigar.getProcState(sigar.getPid());
|
ProcState procState = sigar.getProcState(sigar.getPid());
|
||||||
|
char state = procState.getState();
|
||||||
assertTrue(procState.getState() == 'R');
|
traceln(procState.getName() + "=" + state);
|
||||||
|
|
||||||
|
assertTrue((state == 'R') || (state == 'S'));
|
||||||
|
|
||||||
assertTrue(procState.getName().indexOf("java") != -1);
|
assertTrue(procState.getName().indexOf("java") != -1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue