Changeset 8c4ae46 in rtems-testing


Ignore:
Timestamp:
Aug 1, 2011, 10:21:40 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
1d4cd8e
Parents:
837df56
Message:

2011-08-01 Joel Sherrill <joel.sherrill@…>

  • check_submission: Check for spaces at end of lines.
Location:
merge-helpers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • merge-helpers/ChangeLog

    r837df56 r8c4ae46  
     12011-08-01      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * check_submission: Check for spaces at end of lines.
     4
    152011-08-01      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • merge-helpers/check_submission

    r837df56 r8c4ae46  
    170170do
    171171  test_its_NOT_there ${f} "this file may be found in the file"
     172done
     173
     174# We do not want spaces at the end of lines
     175echo "=== Checking for spaces at the end of lines"
     176find_source -m -c -C | while read f
     177do
     178  egrep " +$" $f >/dev/null
     179  test $? -eq 0 && echo "$f has spaces at the end of one or more lines."
    172180done
    173181
Note: See TracChangeset for help on using the changeset viewer.