diff options
author | Anders Svensson <[email protected]> | 2015-03-27 17:16:16 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-03-27 17:16:16 +0100 |
commit | 8da49848433b060c44d541998d4ac94bf3fd25ea (patch) | |
tree | 00d4077282f4d4b1422c5edebc1e3814acc417c7 /lib/diameter/test/diameter_codec_test.erl | |
parent | cd80b9205944583ce5a2b7db3f5ec28e25a527a1 (diff) | |
parent | 45f33f09d56af793a2142ab402d73868be30b223 (diff) | |
download | otp-8da49848433b060c44d541998d4ac94bf3fd25ea.tar.gz otp-8da49848433b060c44d541998d4ac94bf3fd25ea.tar.bz2 otp-8da49848433b060c44d541998d4ac94bf3fd25ea.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/diameter/test/diameter_codec_test.erl')
-rw-r--r-- | lib/diameter/test/diameter_codec_test.erl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/diameter/test/diameter_codec_test.erl b/lib/diameter/test/diameter_codec_test.erl index 854b71ba93..5f1dbfbd61 100644 --- a/lib/diameter/test/diameter_codec_test.erl +++ b/lib/diameter/test/diameter_codec_test.erl @@ -352,15 +352,19 @@ values('DiameterURI') -> {[], ["aaa" ++ S ++ "://diameter.se" ++ P ++ Tr ++ Pr || S <- ["", "s"], - P <- ["", ":1234"], + P <- ["", ":1234", ":0", ":65535"], Tr <- ["" | [";transport=" ++ X || X <- ["tcp", "sctp", "udp"]]], Pr <- ["" | [";protocol=" ++ X || X <- ["diameter","radius","tacacs+"]]], Tr /= ";transport=udp" - orelse (Pr /= ";protocol=diameter" andalso Pr /= "")], - ["aaa://diameter.se;transport=udp;protocol=diameter", + orelse (Pr /= ";protocol=diameter" andalso Pr /= "")] + ++ ["aaa://" ++ lists:duplicate(255, $x)], + ["aaa://diameter.se:65536", + "aaa://diameter.se:-1", + "aaa://diameter.se;transport=udp;protocol=diameter", "aaa://diameter.se;transport=udp", + "aaa://" ++ lists:duplicate(256, $x), "aaa://:3868", "aaax://diameter.se", "aaa://diameter.se;transport=tcpx", |