Fix tests on Windows while running as a simple user
This commit is contained in:
@@ -565,7 +565,7 @@ func TestRefuseUnknownBits(t *testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "valid",
|
Name: "valid",
|
||||||
Flags: protocol.FlagsAll &^ protocol.FlagInvalid,
|
Flags: protocol.FlagsAll &^ (protocol.FlagInvalid | protocol.FlagSymlink),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user