cwd might be empty
This commit is contained in:
parent
c9990246da
commit
ebf7fb5ced
|
@ -48,7 +48,9 @@ public class TestProcExe extends SigarTestCase {
|
|||
String cwd = exe.getCwd();
|
||||
traceln("cwd='" + cwd + "'");
|
||||
|
||||
if (cwd.length() > 0) {
|
||||
assertTrue(new File(cwd).isDirectory());
|
||||
}
|
||||
|
||||
traceln("exe='" + exe.getName() + "'");
|
||||
|
||||
|
|
Loading…
Reference in New Issue