mirror of
https://github.com/restic/restic.git
synced 2024-12-22 07:43:03 +00:00
restic: test path handling of volume shadow copy root path
This commit is contained in:
parent
4380627cb7
commit
0aee70b496
1 changed files with 7 additions and 0 deletions
|
@ -450,6 +450,13 @@ func TestPrepareVolumeName(t *testing.T) {
|
||||||
expectError: false,
|
expectError: false,
|
||||||
expectedEASupported: false,
|
expectedEASupported: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Volume Shadow Copy root",
|
||||||
|
path: `\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1`,
|
||||||
|
expectedVolume: `\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1`,
|
||||||
|
expectError: false,
|
||||||
|
expectedEASupported: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Volume Shadow Copy path",
|
name: "Volume Shadow Copy path",
|
||||||
path: `\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\Users\test`,
|
path: `\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\Users\test`,
|
||||||
|
|
Loading…
Reference in a new issue