diff options
author | Marton Balint <cus@passwd.hu> | 2020-02-03 01:13:28 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-02-15 18:41:36 +0100 |
commit | 365b817b51630447305f49a4e2f79ab8ad842473 (patch) | |
tree | a3fadc7534ac30d312645096dba036719fcfc90b /tests/ref/fate | |
parent | 0f5127b1ca861402aed7a3f1023188fc5a40aa62 (diff) | |
download | ffmpeg-365b817b51630447305f49a4e2f79ab8ad842473.tar.gz |
avformat/tests/url: add av_url_split tests
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'tests/ref/fate')
-rw-r--r-- | tests/ref/fate/url | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ref/fate/url b/tests/ref/fate/url index b5deba88ae..8212c1131b 100644 --- a/tests/ref/fate/url +++ b/tests/ref/fate/url @@ -12,3 +12,13 @@ Testing ff_make_absolute_url: http://server/foo/bar?param=value/with/slashes /baz => http://server/baz http://server/foo/bar?param&otherparam ?someparam => http://server/foo/bar?someparam http://server/foo/bar //other/url => http://other/url + +Testing av_url_split: +/foo/bar => -1 /foo/bar +http://server/foo/ => http server -1 /foo/ +http://example.com/foo/bar => http example.com -1 /foo/bar +http://user:pass@localhost:8080/foo/bar/123 => http user:pass localhost 8080 /foo/bar/123 +http://server/foo/bar?param=value/with/slashes => http server -1 /foo/bar?param=value/with/slashes +https://1l-lh.a.net/i/1LIVE_HDS@179577/master.m3u8 => https 1l-lh.a.net -1 /i/1LIVE_HDS@179577/master.m3u8 +ftp://u:p%2B%2F2@ftp.pbt.com/ExportHD.mpg => ftp u:p%2B%2F2 ftp.pbt.com -1 /ExportHD.mpg +https://key.dns.com?key_id=2&model_id=12345&&access_key= => https key.dns.com -1 ?key_id=2&model_id=12345&&access_key= |