Ignore:
Timestamp:
Sep 3, 2006, 4:42:17 PM (18 years ago)
Author:
rainer
Message:

Add regression test for trac ticket #32.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testrun_1b.sh

    r52 r60  
    138138    if [ $tmp -ne 2 ]; then
    139139        [ -z "$verbose" ] || log_msg_fail "/etc";
     140        return 1
    140141    fi
    141142    tmp=`egrep "Checking.*(>|\")" $LOGFILE 2>/dev/null | wc -l`
    142     if [ $tmp -ne 2 ]; then
     143    if [ $tmp -ne 8 ]; then
    143144        [ -z "$verbose" ] || log_msg_fail "checking";
     145        return 1
     146    fi
     147    egrep "ADDED" $LOGFILE >/dev/null 2>&1
     148    if [ $? -eq 0 ]; then
     149        [ -z "$verbose" ] || log_msg_fail "init was incomplete";
     150        return 1
    144151    fi
    145152    #
Note: See TracChangeset for help on using the changeset viewer.