Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selftests: use printf instead of echo -ne
[ Upstream commit 9e34fad ] Rather than trying to guess which implementation of "echo" to run with support for "-ne" options, use "printf" instead of "echo -ne". It handles escape characters as a standard feature and it is widespread among modern shells. Reported-by: "kernelci.org bot" <[email protected]> Suggested-by: David Laight <[email protected]> Fixes: 3297a4d ("kselftests: Enable the echo command to print newlines in Makefile") Fixes: 79c16b1 ("selftests: find echo binary to use -ne options") Signed-off-by: Guillaume Tucker <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Shuah Khan <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information