Changeset 54


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

Fix compile problem for stealth mode w\database

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r51 r54  
    1313dnl start
    1414dnl
    15 AM_INIT_AUTOMAKE(samhain, 2.2.2)
     15AM_INIT_AUTOMAKE(samhain, 2.2.3)
    1616AC_CANONICAL_HOST
    1717
  • trunk/docs/Changelog

    r53 r54  
    44        * fix stealth mode (regression in parser), problem reported by
    55          Joschi Kuphal
     6        * fix minor typo in sh_database.c (compile problem reported by
     7          Joschi Kuphal)
    68
    792.2.2 (17-07-2006)
  • trunk/src/sh_database.c

    r45 r54  
    14271427
    14281428#ifdef SH_STEALTH
    1429   int     j, k;
     1429  int     k;
    14301430
    14311431  if (first == S_FALSE)
     
    14481448
    14491449#else
     1450
     1451  if (first == S_FALSE)
     1452    return;
    14501453
    14511454  i = 0;
  • 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.