summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-07-15 21:25:09 +0200
committerGitHub <noreply@github.com>2019-07-15 21:25:09 +0200
commitad79beb1dd082cbc5f7d3e41676e372b4e351f38 (patch)
treedf3a349a475430df87ed0980fc04f752f1395529 /tests
parentMerge pull request #4658 from chiragshah6/ospf_vrf_dev (diff)
parenttests: remove strlen assert in inet_ntop tests (diff)
downloadfrr-ad79beb1dd082cbc5f7d3e41676e372b4e351f38.tar.xz
frr-ad79beb1dd082cbc5f7d3e41676e372b4e351f38.zip
Merge pull request #4687 from qlyoung/fix-test-ntop-strlen-assert
tests: remove strlen assert in inet_ntop tests
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/test_ntop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/lib/test_ntop.c b/tests/lib/test_ntop.c
index 180605996..0a55ecddb 100644
--- a/tests/lib/test_ntop.c
+++ b/tests/lib/test_ntop.c
@@ -81,7 +81,6 @@ int main(int argc, char **argv)
assert(inet_pton(AF_INET6, buf1, &i6check));
assert(!memcmp(&i6, &i6check, sizeof(i6)));
- assert(strlen(buf1) <= strlen(buf2));
}
return 0;
}