aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/gpio
diff options
context:
space:
mode:
authorDan Rue2018-11-26 21:12:15 -0600
committerShuah Khan2018-11-27 14:19:46 -0700
commitf70b472e937bb659a7b7a14e64f07308e230888c (patch)
treebe6f373072f0727c489f7ff744c40ac69106626b /tools/testing/selftests/gpio
parente55c884ea5c66a29a713d41ed0819fee8038762b (diff)
selftests: firmware: remove use of non-standard diff -Z option
"diff -Z" is used to trim the trailing whitespace when comparing the loaded firmware file with the source firmware file. However, per the comment in the source code, -Z should not be necessary. In testing, the input and output files are identical. Additionally, -Z is not a standard option and is not available in environments such as busybox. When -Z is not supported, diff fails with a usage error, which is suppressed, but then causes read_firmwares() to exit with a false failure message. Signed-off-by: Dan Rue <dan.rue@linaro.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/gpio')
0 files changed, 0 insertions, 0 deletions