Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: safesetid: Fix Makefile to set correct test program

Fix Makefile to set safesetid-test.sh to TEST_PROGS instead
of non existing run_tests.sh.

Without this fix, I got following error.
----
TAP version 13
1..1
# selftests: safesetid: run_tests.sh
# Warning: file run_tests.sh is missing!
not ok 1 selftests: safesetid: run_tests.sh
----

Fixes: c67e8ec03f3f ("LSM: SafeSetID: add selftest")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Masami Hiramatsu and committed by
Shuah Khan
8ef1ec0c 295c4e21

+1 -1
+1 -1
tools/testing/selftests/safesetid/Makefile
··· 3 3 CFLAGS = -Wall -O2 4 4 LDLIBS = -lcap 5 5 6 - TEST_PROGS := run_tests.sh 6 + TEST_PROGS := safesetid-test.sh 7 7 TEST_GEN_FILES := safesetid-test 8 8 9 9 include ../lib.mk