projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b385b5
)
Add test cases for special chars in filename.
author
Tom Clegg <tom@curii.com>
Wed, 31 Mar 2021 15:45:16 +0000
(11:45 -0400)
committer
Tom Clegg <tom@curii.com>
Wed, 31 Mar 2021 15:45:16 +0000
(11:45 -0400)
closes #17422
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
services/keep-web/cadaver_test.go
patch
|
blob
|
history
diff --git
a/services/keep-web/cadaver_test.go
b/services/keep-web/cadaver_test.go
index 0017a395527a07d4f2ecc401cea628ec15f3acf6..e965a6e8c2de1d0a445360f5c8a047df7e5cc68f 100644
(file)
--- a/
services/keep-web/cadaver_test.go
+++ b/
services/keep-web/cadaver_test.go
@@
-134,6
+134,16
@@
func (s *IntegrationSuite) testCadaver(c *check.C, password string, pathFunc fun
match: `(?ms).*succeeded.*`,
data: testdata,
},
+ {
+ path: writePath,
+ cmd: "move testfile \"test &#!%20 file\"\n",
+ match: `(?ms).*Moving .* succeeded.*`,
+ },
+ {
+ path: writePath,
+ cmd: "move \"test &#!%20 file\" testfile\n",
+ match: `(?ms).*Moving .* succeeded.*`,
+ },
{
path: writePath,
cmd: "move testfile newdir0/\n",