2018-02-06 22:25:21

by Daniel Díaz

[permalink] [raw]
Subject: [PATCH] selftests/memfd: add run_fuse_test.sh to TEST_FILES

From: Anders Roxell <[email protected]>

While testing memfd tests, there is a missing script, as reported by
kselftest:

./run_tests.sh: line 7: ./run_fuse_test.sh: No such file or directory

Signed-off-by: Anders Roxell <[email protected]>
Signed-off-by: Daniel Díaz <[email protected]>
---
tools/testing/selftests/memfd/Makefile | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/memfd/Makefile b/tools/testing/selftests/memfd/Makefile
index a5276a9..0862e6f 100644
--- a/tools/testing/selftests/memfd/Makefile
+++ b/tools/testing/selftests/memfd/Makefile
@@ -5,6 +5,7 @@ CFLAGS += -I../../../../include/
CFLAGS += -I../../../../usr/include/

TEST_PROGS := run_tests.sh
+TEST_FILES := run_fuse_test.sh
TEST_GEN_FILES := memfd_test fuse_mnt fuse_test

fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags)
--
2.7.4



2018-02-13 21:26:17

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH] selftests/memfd: add run_fuse_test.sh to TEST_FILES

On 02/06/2018 03:22 PM, Daniel Díaz wrote:
> From: Anders Roxell <[email protected]>
>
> While testing memfd tests, there is a missing script, as reported by
> kselftest:
>
> ./run_tests.sh: line 7: ./run_fuse_test.sh: No such file or directory
>
> Signed-off-by: Anders Roxell <[email protected]>
> Signed-off-by: Daniel Díaz <[email protected]>
> ---
> tools/testing/selftests/memfd/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/testing/selftests/memfd/Makefile b/tools/testing/selftests/memfd/Makefile
> index a5276a9..0862e6f 100644
> --- a/tools/testing/selftests/memfd/Makefile
> +++ b/tools/testing/selftests/memfd/Makefile
> @@ -5,6 +5,7 @@ CFLAGS += -I../../../../include/
> CFLAGS += -I../../../../usr/include/
>
> TEST_PROGS := run_tests.sh
> +TEST_FILES := run_fuse_test.sh
> TEST_GEN_FILES := memfd_test fuse_mnt fuse_test
>
> fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags)
>

Looks like Andrew applied this mm. It will go through mm tree.

thanks,
-- Shuah