Skip to content

Commit

Permalink
selftests: safesetid: Fix Makefile to set correct test program
Browse files Browse the repository at this point in the history
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: c67e8ec ("LSM: SafeSetID: add selftest")
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
  • Loading branch information
mhiramat authored and shuahkh committed Dec 9, 2019
1 parent 295c4e2 commit 8ef1ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/safesetid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CFLAGS = -Wall -O2
LDLIBS = -lcap

TEST_PROGS := run_tests.sh
TEST_PROGS := safesetid-test.sh
TEST_GEN_FILES := safesetid-test

include ../lib.mk

0 comments on commit 8ef1ec0

Please sign in to comment.