Skip to content

Commit c68946e

Browse files
committed
selftests/filesystems: add utils.{c,h}
Add a new set of helpers that will be used in follow-up patches. Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 96f0943 commit c68946e

3 files changed

Lines changed: 527 additions & 2 deletions

File tree

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
TEST_GEN_PROGS := dev_in_maps set_layers_via_fds
3+
CFLAGS += -Wall
4+
CFLAGS += $(KHDR_INCLUDES)
5+
LDLIBS += -lcap
46

5-
CFLAGS := -Wall -Werror
7+
LOCAL_HDRS += wrappers.h log.h
8+
9+
TEST_GEN_PROGS := dev_in_maps
10+
TEST_GEN_PROGS += set_layers_via_fds
611

712
include ../../lib.mk
13+
14+
$(OUTPUT)/set_layers_via_fds: ../utils.c

0 commit comments

Comments
 (0)