Changeset c4d7f992 for tests


Ignore:
Timestamp:
Sep 6, 2014 10:14:06 PM (6 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
00bd469
Parents:
80d6921
Message:

checkcerts.sh: check for extraneous spaces

(trying to catch the problem noted at http://zzz.i2p/topics/1663)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/scripts/checkcerts.sh

    r80d6921 rc4d7f992  
    165165       compute_dates
    166166    fi
     167    if grep '\s$' $i > /dev/null 2>&1; then
     168        echo "********* Trailing whitespace found in file $i *********"
     169        FAIL=1
     170    fi
     171    if grep '^\s' $i > /dev/null 2>&1; then
     172        echo "********* Leading whitespace found in file $i *********"
     173        FAIL=1
     174    fi
    167175done
    168176
Note: See TracChangeset for help on using the changeset viewer.