mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 02:48:59 +00:00
lib/versioner: Test both spaces and parens in ext versioner paths
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3610
This commit is contained in:
parent
90c0a39df8
commit
b371b1fe34
@ -1,5 +1,5 @@
|
||||
set FOLDER_PATH=%~1
|
||||
set FILE_PATH=%~2
|
||||
set "FOLDER_PATH=%~1"
|
||||
set "FILE_PATH=%~2"
|
||||
echo "1--%FOLDER_PATH%--"
|
||||
echo "2--%FILE_PATH%--"
|
||||
del "%FOLDER_PATH%\%FILE_PATH%"
|
||||
|
@ -48,7 +48,7 @@ func TestExternal(t *testing.T) {
|
||||
cmd = `.\_external_test\external.bat`
|
||||
}
|
||||
|
||||
file := "testdata/folder path/long filename.txt"
|
||||
file := "testdata/folder path/dir (parens)/long filename (parens).txt"
|
||||
prepForRemoval(t, file)
|
||||
defer os.RemoveAll("testdata")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user