Ignore:
Timestamp:
Jun 9, 2019 3:50:50 PM (10 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
ea2ef7b
Parents:
0c54b6d
Message:

Tests: Fix some bashisms, add more files to bashisms check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/scripts/checkremotecerts.sh

    r0c54b6d r6d9aa92  
    124124            IFS=":"
    125125            set -- $HOST
    126             HOSTNAME=$1
     126            HOSTNAM=$1
    127127            PORT=$2
    128128            IFS=$OLDIFS
    129129        else
    130             HOSTNAME=$HOST
     130            HOSTNAM=$HOST
    131131            PORT=443
    132132        fi
    133133
    134         echo -n "Checking $HOSTNAME:$PORT..."
    135         if retry connect "$HOSTNAME" "$PORT"  < /dev/null 1> "$WORK/$HOST"; then
     134        echo -n "Checking $HOSTNAM:$PORT..."
     135        if retry connect "$HOSTNAM" "$PORT"  < /dev/null 1> "$WORK/$HOST"; then
    136136
    137137            # OpenSSL returns "return code: 0 (ok)"
Note: See TracChangeset for help on using the changeset viewer.