From: Dmitry V. Levin Date: Wed, 14 Jan 2015 10:36:57 +0000 (+0000) Subject: tests: handle the case when all 64 process capability bits are set X-Git-Tag: v4.10~193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=878abbbd4768f537f5a1638e6290e0c23451f7da;p=strace 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. --- diff --git a/tests/caps.awk b/tests/caps.awk index 3db69c53..70f31473 100644 --- a/tests/caps.awk +++ b/tests/caps.awk @@ -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$" }