selftests/exec: Fix build for non-regular
Subsystems (2)
PATCH 1/1 selftests/exec: Fix build for non-regular
From: Joerg Vehlow <[email protected]>
The non-regular binary was not built at all and make install failed with
rsync: link_stat "tools/testing/selftests/exec/non-regular" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
TEST_PROGS should only be used for shell scripts, not for binaries
Fixes 0f71241a8e32 ("selftests/exec: add file type errno tests")
Signed-off-by Joerg Vehlow <[email protected]>
--- tools/testing/selftests/exec/.gitignore | 1 + tools/testing/selftests/exec/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
tools/testing/selftests/exec/.gitignore +1 -0
@@ -12,3 +12,4 @@ execveat.denatured xxxxxxxx* pipe S_I*.test +non-regular
tools/testing/selftests/exec/Makefile +2 -2
@@ -3,8 +3,8 @@ CFLAGS = -Wall CFLAGS += -Wno-nonnull CFLAGS += -D_GNU_SOURCE -TEST_PROGS := binfmt_script non-regular -TEST_GEN_PROGS := execveat load_address_4096 load_address_2097152 load_address_16777216 +TEST_PROGS := binfmt_script +TEST_GEN_PROGS := execveat load_address_4096 load_address_2097152 load_address_16777216 non-regular TEST_GEN_FILES := execveat.symlink execveat.denatured script subdir pipe # Makefile is a run-time dependency, since it's accessed by the execveat test TEST_FILES := Makefile
Signature · 1 line
2.25.1