Re: [FFmpeg-devel] [PATCH v3 2/2] avformat/tests/url: add test cases for .. and last node is ..
This does not work for the following testcases, + lines are invalid: +test("/foo/bar", ".."); +test("/foo/bar/baz", ".."); - /foo/bar .. => / - /foo/bar/baz .. => /foo/ +
[FFmpeg-devel] [PATCH v3 2/2] avformat/tests/url: add test cases for .. and last node is ..
Signed-off-by: Steven Liu --- libavformat/tests/url.c | 14 ++ tests/ref/fate/url | 12 2 files changed, 26 insertions(+) diff --git a/libavformat/tests/url.c b/libavformat/tests/url.c index 1d961a1b43..0de511caf9 100644 --- a/libavformat/tests/url.c +++ b/libavform