Skip to content

Commit 1504269

Browse files
committed
Merge tag 'linux-kselftest-4.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull kselftest fixes from Shuah Khan: "This Kselftest update for 4.17-rc4 consists of a fix for a syntax error in the script that runs selftests. Mathieu Desnoyers found this bug in the script on systems running GNU Make 3.8 or older" * tag 'linux-kselftest-4.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: selftests: Fix lib.mk run_tests target shell script
2 parents e523a25 + a335544 commit 1504269

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/testing/selftests/lib.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ all: $(TEST_GEN_PROGS) $(TEST_GEN_PROGS_EXTENDED) $(TEST_GEN_FILES)
2020

2121
.ONESHELL:
2222
define RUN_TESTS
23-
@export KSFT_TAP_LEVEL=`echo 1`;
24-
@test_num=`echo 0`;
25-
@echo "TAP version 13";
26-
@for TEST in $(1); do \
23+
@export KSFT_TAP_LEVEL=`echo 1`; \
24+
test_num=`echo 0`; \
25+
echo "TAP version 13"; \
26+
for TEST in $(1); do \
2727
BASENAME_TEST=`basename $$TEST`; \
2828
test_num=`echo $$test_num+1 | bc`; \
2929
echo "selftests: $$BASENAME_TEST"; \

0 commit comments

Comments
 (0)