disable fake fqdn

This commit is contained in:
Doug MacEachern 2004-07-16 20:14:36 +00:00
parent 8aa114b220
commit 2d38a11fbb
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ public class TestFQDN extends SigarTestCase {
traceln("fqdn=" + fqdn); traceln("fqdn=" + fqdn);
boolean validFQDN = fqdn.indexOf(".") > 0; boolean validFQDN = fqdn.indexOf(".") > 0;
/*
if (!validFQDN) { if (!validFQDN) {
//wont get a valid fqdn on laptop at home //wont get a valid fqdn on laptop at home
//allow to fake with ant -Dsigar.fqdn=foo.bar //allow to fake with ant -Dsigar.fqdn=foo.bar
@ -29,6 +30,7 @@ public class TestFQDN extends SigarTestCase {
validFQDN = fake.indexOf(".") > 0; validFQDN = fake.indexOf(".") > 0;
} }
} }
*/
assertTrue(validFQDN); assertTrue(validFQDN);
} }
} }