Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
selftests: exec: revert to default emit rule
Browse files Browse the repository at this point in the history
With the previous patch, the installation method change from install
to rsync. There is no need to create subdir during test, the
default EMIT_TESTS is enough.

This patch essentially revert commit 84cbd9e ("selftests/exec: do not
install subdir as it is already created").

Suggested-by: Michael Ellerman <[email protected]>
Signed-off-by: Bamvor Jian Zhang <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
  • Loading branch information
Bamvor Jian Zhang authored and Shuah Khan committed Sep 14, 2015
1 parent 900d65e commit ae78581
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/testing/selftests/exec/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CFLAGS = -Wall
BINARIES = execveat
DEPS = execveat.symlink execveat.denatured script
DEPS = execveat.symlink execveat.denatured script subdir
all: $(BINARIES) $(DEPS)

subdir:
Expand All @@ -22,7 +22,5 @@ TEST_FILES := $(DEPS)

include ../lib.mk

override EMIT_TESTS := echo "mkdir -p subdir; (./execveat && echo \"selftests: execveat [PASS]\") || echo \"selftests: execveat [FAIL]\""

clean:
rm -rf $(BINARIES) $(DEPS) subdir.moved execveat.moved xxxxx*

0 comments on commit ae78581

Please sign in to comment.