diff options
author | Lucas de Castro Borges <lucas@gnuabordo.com.br> | 2024-04-22 00:35:53 -0300 |
---|---|---|
committer | Lucas de Castro Borges <lucas@gnuabordo.com.br> | 2024-04-22 00:35:53 -0300 |
commit | 5f01c706267c595de92406a32e7f31ef5056c2d0 (patch) | |
tree | d1e74ef54efc41ada622900fe3e2a50dee44a237 /test/ws_scan.sh | |
parent | 09fcc751ef158898c315ebc9299a0fa3a722d914 (diff) |
New upstream version 2.0.3preupstream/2.0.3pre
Diffstat (limited to 'test/ws_scan.sh')
-rw-r--r-- | test/ws_scan.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/ws_scan.sh b/test/ws_scan.sh deleted file mode 100644 index d22586f8..00000000 --- a/test/ws_scan.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!bash - -# checks for mixed indentation and empty lines with whitespace -# run from test/ - -cd .. -grep -lHIrP --include=*.{h,c} -- '^((\t+ +)|( +\t+)|\s+$)' | sed 's/^/- [ ] /' > test/hardinfo-bad.txt -grep -LHIrP --include=*.{h,c} -- '^((\t+ +)|( +\t+)|\s+$)' | sed 's/^/- [x] /' > test/hardinfo-good.txt -cat test/hardinfo-bad.txt test/hardinfo-good.txt | LC_ALL=C sort -k 1.5 | grep -vP " (test|build|deps)" -rm test/hardinfo-bad.txt test/hardinfo-good.txt -cd test |