tests: handle the case when all 64 process capability bits are set
* tests/caps.awk: Handle the case when all bits of 64-bit capability word are set.
This commit is contained in:
parent
d2a9ce61e7
commit
878abbbd47
@ -1,7 +1,7 @@
|
||||
BEGIN {
|
||||
fail = 0
|
||||
lines = 3
|
||||
cap = "(0|CAP_[A-Z_]+(\\|CAP_[A-Z_]+)*)"
|
||||
cap = "(0|CAP_[A-Z_]+(\\|CAP_[A-Z_]+)*|CAP_[A-Z_]+(\\|CAP_[A-Z_]+){37}\\|0xffffffc0)"
|
||||
capget = "^capget\\(\\{_LINUX_CAPABILITY_VERSION_3, 0\\}, \\{" cap ", " cap ", " cap "\\}\\) = 0$"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user