freebsd fixup

This commit is contained in:
Doug MacEachern 2005-02-17 02:21:01 +00:00
parent f8a7c94beb
commit 07e8e4fc9c
1 changed files with 4 additions and 2 deletions

View File

@ -19,8 +19,10 @@ public class TestProcState extends SigarTestCase {
}
ProcState procState = sigar.getProcState(sigar.getPid());
assertTrue(procState.getState() == 'R');
char state = procState.getState();
traceln(procState.getName() + "=" + state);
assertTrue((state == 'R') || (state == 'S'));
assertTrue(procState.getName().indexOf("java") != -1);
}