aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs/linux_configs_test.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-07-10 12:19:47 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-07-10 10:27:55 +0000
commitd47e94ee5842166fa9b91e7affdeaa8dc4cfcd39 (patch)
treed1173529448fff52390170f758a5b2bef1ecd6fc /pkg/vcs/linux_configs_test.go
parent45bc0ee6d2f16952a18e421ace35ef96e251bd1d (diff)
pkg/vcs: properly disable lockdep
We also need to disable CONFIG_PROVE_LOCKING, which forces CONFIG_LOCKDEP to be enabled.
Diffstat (limited to 'pkg/vcs/linux_configs_test.go')
-rw-r--r--pkg/vcs/linux_configs_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/vcs/linux_configs_test.go b/pkg/vcs/linux_configs_test.go
index 6ea95645f..378714174 100644
--- a/pkg/vcs/linux_configs_test.go
+++ b/pkg/vcs/linux_configs_test.go
@@ -47,7 +47,7 @@ func TestDropLinuxSanitizerConfigs(t *testing.T) {
name: "lockdep",
types: []crash.Type{crash.LockdepBug},
test: func(t *testing.T, cf *kconfig.ConfigFile) {
- assertConfigs(t, cf, "LOCKDEP")
+ assertConfigs(t, cf, "LOCKDEP", "PROVE_LOCKING")
},
},
{
@@ -68,6 +68,7 @@ CONFIG_LOCKDEP=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_UBSAN=y
CONFIG_DEBUG_ATOMIC_SLEEP=y
+CONFIG_PROVE_LOCKING=y
`
for _, test := range tests {
test := test