From 2d38a11fbb48b5372d9d6cb009b4c9935e569a1f Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 16 Jul 2004 20:14:36 +0000 Subject: [PATCH] disable fake fqdn --- bindings/java/src/net/hyperic/sigar/test/TestFQDN.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/java/src/net/hyperic/sigar/test/TestFQDN.java b/bindings/java/src/net/hyperic/sigar/test/TestFQDN.java index 2b36a9ae..84cd7b69 100644 --- a/bindings/java/src/net/hyperic/sigar/test/TestFQDN.java +++ b/bindings/java/src/net/hyperic/sigar/test/TestFQDN.java @@ -15,6 +15,7 @@ public class TestFQDN extends SigarTestCase { traceln("fqdn=" + fqdn); boolean validFQDN = fqdn.indexOf(".") > 0; + /* if (!validFQDN) { //wont get a valid fqdn on laptop at home //allow to fake with ant -Dsigar.fqdn=foo.bar @@ -29,6 +30,7 @@ public class TestFQDN extends SigarTestCase { validFQDN = fake.indexOf(".") > 0; } } + */ assertTrue(validFQDN); } }