Ignore:
Timestamp:
Jan 8, 2009, 10:08:45 PM (16 years ago)
Author:
katerina
Message:

Fix for ticket #133 (improve port checking and its reporting to prelude).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testrun_1b.sh

    r170 r206  
    242242    rm -f $PW_DIR/test_log_prelude
    243243
     244    [ -z "$verbose" ] || { echo " starting prelude-manager.."; echo " ($PM --textmod -l $PW_DIR/test_log_prelude --listen 127.0.0.1:5500 >/dev/null 2>&1 &)"; }
    244245    "$PM" --textmod -l $PW_DIR/test_log_prelude --listen 127.0.0.1:5500 >/dev/null 2>&1 &
    245246    PID=$!
     
    266267    if [ $tmp -lt 1 ]; then
    267268        [ -z "$verbose" ] || log_msg_fail "/etc";
     269        kill $PID
     270        return 1
    268271    fi
    269272    tmp=`egrep 'Classification text: Checking' test_log_prelude 2>/dev/null | wc -l`
    270273    if [ $tmp -lt 1 ]; then
    271274        [ -z "$verbose" ] || log_msg_fail "checking";
     275        kill $PID
     276        return 1
    272277    fi
    273278    #
     
    276281        if [ $tmp -lt 1 ]; then
    277282            [ -z "$verbose" ] || log_msg_fail "service";
     283            kill $PID
     284            return 1
    278285        fi
    279286        tmp=`egrep 'Service: port=5500' test_log_prelude 2>/dev/null | wc -l`
    280287        if [ $tmp -lt 1 ]; then
    281288            [ -z "$verbose" ] || log_msg_fail "port 5500";
     289            kill $PID
     290            return 1
    282291        fi
    283292    fi
Note: See TracChangeset for help on using the changeset viewer.