All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] msgrcv03: make explicit kernel config requirement
@ 2020-11-19 10:18 Po-Hsu Lin
  0 siblings, 0 replies; only message in thread
From: Po-Hsu Lin @ 2020-11-19 10:18 UTC (permalink / raw)
  To: ltp

With commit eeed458492cc ("lib/tst_kconfig: Validate variables"), the
kernel config check is now more strict.

In this msgrcv03 test, it will fail on an ARM64 system running with
Ubuntu Bionic 4.15 kernel:
  tag=msgrcv03 stime=1605780268
  cmdline=msgrcv03
  contacts=
  analysis=exit
  <<<test_output>>>
  CONFIG_CHECKPOINT_RESTORE
                           ^
  Missing value

  tst_kconfig.c:475: TBROK: Invalid kconfig variables!

While the kernel config shows:
  $ grep CONFIG_CHECKPOINT_RESTORE /boot/config-4.15.0-1087-aws
  CONFIG_CHECKPOINT_RESTORE=y

Change the kernel config requirement to CONFIG_CHECKPOINT_RESTORE=y
to solve this issue.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
---
 testcases/kernel/syscalls/ipc/msgrcv/msgrcv03.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/ipc/msgrcv/msgrcv03.c b/testcases/kernel/syscalls/ipc/msgrcv/msgrcv03.c
index b578e2810..015351a65 100644
--- a/testcases/kernel/syscalls/ipc/msgrcv/msgrcv03.c
+++ b/testcases/kernel/syscalls/ipc/msgrcv/msgrcv03.c
@@ -93,7 +93,7 @@ static struct tst_test test = {
 	.needs_tmpdir = 1,
 	.needs_root = 1,
 	.needs_kconfigs = (const char *[]) {
-		"CONFIG_CHECKPOINT_RESTORE",
+		"CONFIG_CHECKPOINT_RESTORE=y",
 		NULL
 	},
 	.min_kver = "3.8.0",
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-19 10:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 10:18 [LTP] [PATCH] msgrcv03: make explicit kernel config requirement Po-Hsu Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.