linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.31k stars 1.01k forks source link

Fix typos marcos -> macros #1100

Closed marcosps closed 10 months ago

marcosps commented 10 months ago

[ type description here; PLEASE REMOVE THIS LINE AND THE LINES BELOW BEFORE SUBMITTING THIS PULL REQUEST ]

pevik commented 10 months ago

@marcosps Thanks! Very funny, you found typos which are the same as your first name :).

marcosps commented 10 months ago

@marcosps Thanks! Very funny, you found typos which are the same as your first name :).

Yes, I was searching for my name in the LTP source code, and found those :P

Martchus commented 10 months ago

The "approach" reminds me of how codespell works and I'm wondering how much typos we'd find if we'd ran it on ltp.

pevik commented 10 months ago

Well, we have backported https://github.com/linux-test-project/ltp/blob/master/scripts/spelling.txt together with https://github.com/linux-test-project/ltp/blob/master/scripts/checkpatch.pl, but unfortunately it checks only the commit message. I guess I'll write a patch to allow checking also the source code.