\rModified JUnit tests to allow IP Address form of 'localhost' to support Windows...
[packetcable.git] / packetcable-driver / src / test / java / org / umu / cops / stack / COPSIpv6OutInterfaceTest.java
index e6181cf2975a99279e3429a3cac70aec74703a18..3e0d1b906cb4e7c16dfd59233ffae39a1735fd4f 100644 (file)
@@ -58,7 +58,7 @@ public class COPSIpv6OutInterfaceTest {
         Assert.assertEquals("**Out-Interface**", lines[0]);
         Assert.assertEquals("C-num: OUTINTF", lines[1]);
         Assert.assertEquals("C-type: STATELESS", lines[2]);
-        Assert.assertEquals("Address: localhost", lines[3]);
+        Assert.assertTrue(lines[3].equals("Address: localhost") || lines[3].equals("Address: 0:0:0:0:0:0:0:1"));
         Assert.assertEquals("ifindex: 5", lines[4]);
     }