diff options
author | Rob Austein <sra@hactrn.net> | 2010-01-14 02:37:54 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-01-14 02:37:54 +0000 |
commit | 8667be0e3f883ff13341dd8afe75877c9a3d2287 (patch) | |
tree | 2574bc3f4e5947b03813def0048ce7f72dbf19c6 | |
parent | 4b93bad1fa145f1ef383d72d780e3b12c732d911 (diff) |
More unit tests, while looking for a reported /128 bug. Didn't find
anything, but harmless.
svn path=/rpkid/rpki/resource_set.py; revision=2950
-rw-r--r-- | rpkid/rpki/resource_set.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rpkid/rpki/resource_set.py b/rpkid/rpki/resource_set.py index b6fc858d..542d16c7 100644 --- a/rpkid/rpki/resource_set.py +++ b/rpkid/rpki/resource_set.py @@ -946,3 +946,10 @@ if __name__ == "__main__": print test2(roa_prefix_set_ipv4, "10.3.0.0/24-24,10.0.0.0/16-32", "10.3.0.0/24,10.0.0.0/16-32") print + test2(roa_prefix_set_ipv6, "2002:0a00:002c::1/128", "2002:0a00:002c::2/128") + print + test2(roa_prefix_set_ipv6, "2002:0a00:002c::1/128", "2002:0a00:002c::7/128") + print + test2(roa_prefix_set_ipv6, "2002:0a00:002c::1/128", "2002:0a00:002c::/120") + print + test2(roa_prefix_set_ipv6, "2002:0a00:002c::1/128", "2002:0a00:002c::/120-128") |