You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running kernbench on a source tree that contains files with spaces or special characters in their paths, the script prints errors like:
cat: ./tools/testing/selftests/devices/probe/boards/Dell: No such file or directory
cat: Inc.,XPS: No such file or directory
cat: 13: No such file or directory
cat: 9300.yaml.yaml: No such file or directory
This happens due to the unsafe use of:
for i in `find -type f`; do
cat $i > /dev/null
done
which breaks on such filenames.
🛠️ A fix has been proposed in PR #1230, replacing the loop with a find . -print0 | while read -d '' construct that correctly handles all valid filenames.
The text was updated successfully, but these errors were encountered:
When running
kernbench
on a source tree that contains files with spaces or special characters in their paths, the script prints errors like:This happens due to the unsafe use of:
which breaks on such filenames.
🛠️ A fix has been proposed in PR #1230, replacing the loop with a
find . -print0 | while read -d ''
construct that correctly handles all valid filenames.The text was updated successfully, but these errors were encountered: