Changeset 54 for trunk/test


Ignore:
Timestamp:
Jul 31, 2006, 11:40:27 PM (18 years ago)
Author:
rainer
Message:

Fix compile problem for stealth mode w\database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testcompile.sh

    r30 r54  
    2020#
    2121
    22 MAXTEST=57; export MAXTEST
     22MAXTEST=61; export MAXTEST
    2323
    2424run_flawfinder ()
     
    253253            log_skip $num $MAXTEST 'gpg not in PATH'
    254254            let "num = num + 1" >/dev/null
     255            log_skip $num $MAXTEST 'gpg not in PATH'
    255256        else
    256257            if test -r "Makefile"; then
     
    314315
    315316        #
     317        # test standalone compilation w/mysql and stealth
     318        #
     319        TEST="${S}standalone w/mysql+stealth${E}"
     320        #
     321        if test -r "Makefile"; then
     322                $MAKE clean
     323        fi
     324        #
     325        ${TOP_SRCDIR}/configure --quiet --enable-xml-log --enable-stealth=128 --with-database=mysql  --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test > /dev/null 2>> test_log
     326        #
     327        let "num = num + 1" >/dev/null
     328        testmake $? $num "skip" || let "numfail = numfail + 1" >/dev/null
     329        let "num = num + 1" >/dev/null
     330        run_smatch $? $num || let "numfail = numfail + 1"  >/dev/null
     331
     332        #
    316333        # test standalone compilation w/postgresql
    317334        #
     
    323340        #
    324341        ${TOP_SRCDIR}/configure --quiet --enable-xml-log --with-database=postgresql  --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test > /dev/null 2>> test_log
     342        #
     343        let "num = num + 1" >/dev/null
     344        testmake $? $num "skip" || let "numfail = numfail + 1" >/dev/null
     345        let "num = num + 1" >/dev/null
     346        run_smatch $? $num || let "numfail = numfail + 1"  >/dev/null
     347
     348        #
     349        # test standalone compilation w/postgresql+stealth
     350        #
     351        TEST="${S}standalone w/postgresql+stealth${E}"
     352        #
     353        if test -r "Makefile"; then
     354                $MAKE clean
     355        fi
     356        #
     357        ${TOP_SRCDIR}/configure --quiet --enable-xml-log --enable-stealth=128 --with-database=postgresql  --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test > /dev/null 2>> test_log
    325358        #
    326359        let "num = num + 1" >/dev/null
     
    400433        if [ -z "$GPG" ]; then
    401434            log_skip $num $MAXTEST 'gpg not in PATH'
    402             let "num = num + 3" >/dev/null
     435            let "num = num + 1" >/dev/null
     436            log_skip $num $MAXTEST 'gpg not in PATH'
     437            let "num = num + 1" >/dev/null
     438            log_skip $num $MAXTEST 'gpg not in PATH'
     439            let "num = num + 1" >/dev/null
     440            log_skip $num $MAXTEST 'gpg not in PATH'
    403441        else
    404442            if test -r "Makefile"; then
Note: See TracChangeset for help on using the changeset viewer.