summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2020-02-02 23:26:16 +0100
committerMarton Balint <cus@passwd.hu>2020-02-15 18:41:36 +0100
commit0f5127b1ca861402aed7a3f1023188fc5a40aa62 (patch)
tree96082fdf1748381da7e6e7f06a2b64d44433981b /tests
parente2307f4ff197646a7feee0edbcdd2d3262932676 (diff)
downloadffmpeg-0f5127b1ca861402aed7a3f1023188fc5a40aa62.tar.gz
avformat/tests/url: make format more readable
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/url27
1 files changed, 14 insertions, 13 deletions
diff --git a/tests/ref/fate/url b/tests/ref/fate/url
index 1a6051ee0f..b5deba88ae 100644
--- a/tests/ref/fate/url
+++ b/tests/ref/fate/url
@@ -1,13 +1,14 @@
-baz
-/foo/baz
-/baz
-/baz
-http://server/foo/baz
-http://server/foo/baz
-http://server/baz
-http://server/baz
-http://server/baz
-https://other/url
-http://server/baz
-http://server/foo/bar?someparam
-http://other/url
+Testing ff_make_absolute_url:
+ (null) baz => baz
+ /foo/bar baz => /foo/baz
+ /foo/bar ../baz => /baz
+ /foo/bar /baz => /baz
+ http://server/foo/ baz => http://server/foo/baz
+ http://server/foo/bar baz => http://server/foo/baz
+ http://server/foo/ ../baz => http://server/baz
+ http://server/foo/bar/123 ../../baz => http://server/baz
+ http://server/foo/bar/123 /baz => http://server/baz
+ http://server/foo/bar/123 https://other/url => https://other/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