fstests: add encoding test for URL encoded path name #5768

Add an encoding test to make sure backends can deal with a URL encoded
path name. This is a fairly common failing in backends and has been an
intermittent problem with onedrive itself.
This commit is contained in:
Nick Craig-Wood 2021-11-02 15:58:25 +00:00
parent 39e2af7974
commit f51a5eca2e

View File

@ -658,6 +658,7 @@ func Run(t *testing.T, opt *Opt) {
{"trailing VT", "trailing VT\v"},
{"trailing dot", "trailing dot."},
{"invalid UTF-8", "invalid utf-8\xfe"},
{"URL encoding", "test%46.txt"},
} {
t.Run(test.name, func(t *testing.T) {
if opt.SkipInvalidUTF8 && test.name == "invalid UTF-8" {