|
@@ -120,7 +120,7 @@ func TestParseMountRaw(t *testing.T) {
|
|
`c:\:d:\:xyzzy`: "invalid volume specification: ",
|
|
`c:\:d:\:xyzzy`: "invalid volume specification: ",
|
|
`c:`: "cannot be `c:`",
|
|
`c:`: "cannot be `c:`",
|
|
`c:\`: "cannot be `c:`",
|
|
`c:\`: "cannot be `c:`",
|
|
- `c:\notexist:d:`: `bind mount source path does not exist: c:\notexist`,
|
|
|
|
|
|
+ `c:\notexist:d:`: `source path does not exist: c:\notexist`,
|
|
`c:\windows\system32\ntdll.dll:d:`: `source path must be a directory`,
|
|
`c:\windows\system32\ntdll.dll:d:`: `source path must be a directory`,
|
|
`name<:d:`: `invalid volume specification`,
|
|
`name<:d:`: `invalid volume specification`,
|
|
`name>:d:`: `invalid volume specification`,
|
|
`name>:d:`: `invalid volume specification`,
|
|
@@ -189,7 +189,7 @@ func TestParseMountRaw(t *testing.T) {
|
|
`c:\:/foo:xyzzy`: "invalid volume specification: ",
|
|
`c:\:/foo:xyzzy`: "invalid volume specification: ",
|
|
`/`: "destination can't be '/'",
|
|
`/`: "destination can't be '/'",
|
|
`/..`: "destination can't be '/'",
|
|
`/..`: "destination can't be '/'",
|
|
- `c:\notexist:/foo`: `bind mount source path does not exist: c:\notexist`,
|
|
|
|
|
|
+ `c:\notexist:/foo`: `source path does not exist: c:\notexist`,
|
|
`c:\windows\system32\ntdll.dll:/foo`: `source path must be a directory`,
|
|
`c:\windows\system32\ntdll.dll:/foo`: `source path must be a directory`,
|
|
`name<:/foo`: `invalid volume specification`,
|
|
`name<:/foo`: `invalid volume specification`,
|
|
`name>:/foo`: `invalid volume specification`,
|
|
`name>:/foo`: `invalid volume specification`,
|