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