Skip to content

Commit 067b25a

Browse files
mrchappShuah Khan
authored andcommitted
selftests/futex: Fix line continuation in Makefile
The Makefile lacks a couple of line continuation backslashes in an `if' clause, which produces an error when make versions prior to 4.x are used for building the tests. $ make make[1]: Entering directory `/[...]/linux/tools/testing/selftests/futex' /bin/sh: -c: line 5: syntax error: unexpected end of file make[1]: *** [all] Error 1 make[1]: Leaving directory `/[...]/linux/tools/testing/selftests/futex' make: *** [all] Error 2 Signed-off-by: Daniel Díaz <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 9a606f8 commit 067b25a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/testing/selftests/futex/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ all:
1212
BUILD_TARGET=$(OUTPUT)/$$DIR; \
1313
mkdir $$BUILD_TARGET -p; \
1414
make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\
15-
if [ -e $$DIR/$(TEST_PROGS) ]; then
16-
rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/;
17-
fi
15+
if [ -e $$DIR/$(TEST_PROGS) ]; then \
16+
rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; \
17+
fi \
1818
done
1919

2020
override define RUN_TESTS

0 commit comments

Comments
 (0)