From 210fa302a3439002f78331e9b0d903bf02a6b6cf Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 12 Apr 2012 15:23:58 +0200 Subject: lint: tighten whitespace check some more Don't test executable files nor object files, even if the former might render the test useless on win32 (executable bit isn't well defined there). Change-Id: Ifb6fc83243289d266f439316c14b6b009f8da5fc Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/890 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/lint/lint-stable-003-whitespace | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace index a5ca54091b..6869a44fd8 100755 --- a/util/lint/lint-stable-003-whitespace +++ b/util/lint/lint-stable-003-whitespace @@ -20,6 +20,7 @@ LC_ALL=C export LC_ALL find src util -name .svn -type d -prune -o \ + -perm +111 -prune -o \ -name .git -type d -prune -o \ -name README -prune -o \ -name LICENSE -prune -o \ @@ -27,6 +28,7 @@ find src util -name .svn -type d -prune -o \ -name COPYING -prune -o \ -name \*.txt -prune -o \ -name \*.exe -prune -o \ + -name \*.o -prune -o \ -name microcode-\*.h -prune -o \ -name \*.?_shipped -prune -o \ -name \*.[18] -prune -o \ -- cgit v1.2.3