@@ -124,7 +124,7 @@ func TestIP(t *testing.T) {
124124 // Verify VTI tunnel exists in /proc/net/dev
125125 {cmd : "cat /proc/net/dev" , includes : []string {"vti_tunnel" }},
126126
127- //Verify VTI tunnel parameters
127+ // Verify VTI tunnel parameters
128128 {cmd : "ip tunnel show vti_tunnel" , includes : []string {"vti_tunnel:" , "remote 192.168.242.3" , "local 192.168.241.1" , "key 5678" }},
129129 {cmd : "ip link set vti_tunnel up" },
130130 {cmd : "ip addr add 172.16.0.1/30 dev vti_tunnel" },
@@ -139,7 +139,7 @@ func TestIP(t *testing.T) {
139139 // Verify IPIP tunnel exists in /proc/net/dev
140140 {cmd : "cat /proc/net/dev" , includes : []string {"ipip_tunnel" }},
141141
142- //Verify IPIP tunnel parameters
142+ // Verify IPIP tunnel parameters
143143 {cmd : "ip tunnel show ipip_tunnel" , includes : []string {"ipip_tunnel:" , "remote 192.168.243.1" , "local 192.168.241.1" , "ttl 64" }},
144144 {cmd : "ip link set ipip_tunnel up" },
145145 {cmd : "ip addr add 172.17.0.1/30 dev ipip_tunnel" },
@@ -155,7 +155,6 @@ func TestIP(t *testing.T) {
155155
156156 // Verify the neighbor entry
157157 {cmd : "ip neigh show dev eth1" , includes : []string {"192.168.241.2" , "192.168.241.2 dev eth1 lladdr 00:11:22:33:44:55 PERMANENT" }},
158- //{cmd: "test "$neigh_entry" = "192.168.241.2 dev eth1 lladdr 00:11:22:33:44:55 PERMANENT"", includes: []string{},},
159158
160159 // Replace the entry with another hwaddress, nud state and router flag
161160 {cmd : "ip neigh replace 192.168.241.2 lladdr 11:22:33:44:55:66 dev eth1 nud stale router" , includes : []string {}},
0 commit comments