mirror of
https://github.com/restic/restic.git
synced 2025-08-23 17:55:17 +00:00
restic: test path handling of volume shadow copy root path
This commit is contained in:
@@ -450,6 +450,13 @@ func TestPrepareVolumeName(t *testing.T) {
|
||||
expectError: 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",
|
||||
path: `\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\Users\test`,
|
||||
|
Reference in New Issue
Block a user