diff mbox series

[GIT,PULL] Kselftest update for Linux 6.0-rc2

Message ID a764f978-b13d-ec73-5538-6aa3cb1d13b4@linuxfoundation.org
State New
Headers show
Series [GIT,PULL] Kselftest update for Linux 6.0-rc2 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-next-6.0-rc2

Commit Message

Shuah Khan Aug. 18, 2022, 4:23 p.m. UTC
Hi Linus,

Please pull the following Kselftest update for Linux 6.0-rc2.

This Kselftest fixes update for Linux 6.0-rc2 consists of a single
patch to fix landlock test build regression.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

   Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-next-6.0-rc2

for you to fetch changes up to f1227dc7d0411ee9a9faaa1e80cfd9d6e5d6d63e:

   selftests/landlock: fix broken include of linux/landlock.h (2022-08-15 11:26:12 -0600)

----------------------------------------------------------------
linux-kselftest-next-6.0-rc2

This Kselftest fixes update for Linux 6.0-rc2 consists of a single
patch to fix landlock test build regression.

----------------------------------------------------------------
Guillaume Tucker (1):
       selftests/landlock: fix broken include of linux/landlock.h

  tools/testing/selftests/landlock/Makefile | 7 +++++--
  1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------

Comments

pr-tracker-bot@kernel.org Aug. 19, 2022, 3:12 a.m. UTC | #1
The pull request you sent on Thu, 18 Aug 2022 10:23:11 -0600:

> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-next-6.0-rc2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/90b6b686c1e0273ce6d1724fab9b9651a276217e

Thank you!
diff mbox series

Patch

diff --git a/tools/testing/selftests/landlock/Makefile b/tools/testing/selftests/landlock/Makefile
index a6959df28eb0..02868ac3bc71 100644
--- a/tools/testing/selftests/landlock/Makefile
+++ b/tools/testing/selftests/landlock/Makefile
@@ -9,10 +9,13 @@  TEST_GEN_PROGS := $(src_test:.c=)
 TEST_GEN_PROGS_EXTENDED := true
 
 OVERRIDE_TARGETS := 1
+top_srcdir := ../../../..
 include ../lib.mk
 
+khdr_dir = $(top_srcdir)/usr/include
+
 $(OUTPUT)/true: true.c
 	$(LINK.c) $< $(LDLIBS) -o $@ -static
 
-$(OUTPUT)/%_test: %_test.c ../kselftest_harness.h common.h
-	$(LINK.c) $< $(LDLIBS) -o $@ -lcap
+$(OUTPUT)/%_test: %_test.c $(khdr_dir)/linux/landlock.h ../kselftest_harness.h common.h
+	$(LINK.c) $< $(LDLIBS) -o $@ -lcap -I$(khdr_dir)