Annotation of hatari/tests/check-bashisms.sh, revision 1.1

1.1     ! root        1: #!/bin/sh
        !             2: 
        !             3: cd $(dirname $0)/..
        !             4: 
        !             5: errors=0
        !             6: 
        !             7: for i in $(hg locate '*\.sh'); do
        !             8:        echo "Checking $i ..."
        !             9:        checkbashisms $i
        !            10:        errors=$(($errors + $?))
        !            11: done
        !            12: 
        !            13: if [ "$errors" -gt 0 ]; then
        !            14:        echo "TEST FAILED"
        !            15:        exit 1
        !            16: fi
        !            17: 
        !            18: echo "TEST SUCCESS"
        !            19: exit 0

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.