Changeset 60 for trunk


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

Add regression test for trac ticket #32.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r58 r60  
     1#
     2# Copyright Rainer Wichmann (2006)
     3#
     4# License Information:
     5# This program is free software; you can redistribute it and/or modify
     6# it under the terms of the GNU General Public License as published by
     7# the Free Software Foundation; either version 2 of the License, or
     8# (at your option) any later version.
     9#
    110# This program is distributed in the hope that it will be useful,
    2 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
    3 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    4 # PARTICULAR PURPOSE.
     11# but WITHOUT ANY WARRANTY; without even the implied warranty of
     12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13# GNU General Public License for more details.
     14#
     15# You should have received a copy of the GNU General Public License
     16# along with this program; if not, write to the Free Software
     17# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     18
    519
    620# --- boiler-plate stuff ---
  • trunk/docs/Changelog

    r59 r60  
    112.2.4:
     2        * add regression test for the GrowingLogFiles issue to test suite
    23        * fixed sh_unix.c: bug in database init if GrowingLogFiles used
    34          with signed database (reported by Timothy Stotts)
  • trunk/test/test.sh

    r51 r60  
    716716exit 1;
    717717
     718# gpg -a --clearsign --not-dash-escaped testrc.gpg
     719# gpg -a --clearsign --not-dash-escaped .samhain_file
     720# tar czvf foo.tgz testrc.gpg.asc .samhain_file.asc
     721# cat foo.tgz >>test/test.sh
     722
    718723__ARCHIVE_FOLLOWS__
    719 ‹-tæCí•MoÓ0Ç#@HøÄ
    720 »Å      4Ñ&m׎I9€M›–õeëËÆ6U(MÝÖ[bwv²®œù|ˆ‰ïÀ‰W$ĉ°‚牧ݺŠMHlÈ?µµý÷ËóØqþõ÷™ëû1›;Ê¥ 
    721 Ò©TXj™yuÒÖŠíiUM*ššÌh©LBMiŠPé„ÕËI'JÀ}›Aš0Ä·?g£ÍÌÊ„G!ÙŒUªÂek6JV5oÂJŸÑ0¬ü€m>X„¢¡*õMÑÊsÇ
    722 ¢î"\§$u¡E‚e
    723 úî"†{cè0‡
    724 âÜî#ÀŠáû
    725 wñ6èaéqä;BÏï"â7P8Ë·Áq­%[Õ
    726 QHZTª#»[#î8ª–i¿ "ðšj1:€/:é(õ ešJ     Šê'Ÿ5Þp]}d32“§!        õ±ƒf¢‰×1éљRµÅ¡Lg‚M‘LTlì
    727 ÷Šù!τiŒ1wOi“AË
    728 Ÿ
    729 Ü4ج`i#1LDõÃŒœr¶›ØCº–PC±Žœ€qLIY,àêÚD,S:œ
    730 J« Ž†”ù
    731 ÀuM䋡År¹p
    732 
    733 xMáúdÑð        Ö
    734 mpÆ-2š­úÑZE“`‹G·dW‹%bóðUmÅ˘{À悙])˜óde`íšÞØxüŽ˜Õ
    735 –ìK¹lòùú\¶³j®»­:îÌuÞ=7°aäz+k[]gñ|Ü#<ëÄë
    736 ³X±–¶ë{ZE:ÞÊe§ æ«æYé]÷+x­Äží
    737 „õ=
    738 ßÊKú
    739 žÈÿ“jêØÿµt*
    740 úFÓ€ÿ_Wãÿï?Ÿ}÷|1Š1ï܌æˆï»âçå­IûÅíƒ\XÞW£åiöO¡ˆþ{ÊáÁÁ·ß÷wŠúöËá÷¯‡ûáGyý‡(?ÞŒúüíø|c_ìå/x͋øÀi       ß؋—ŠsÉra׊Îhc'Ckt©±#
    741 Œ9ÂMàá€%Ô£úd®3l-ÑÂvŒ±¶±.
    742 <7êÍK—H$‰D"‘H$‰D"‘H$‰D"‘H$’
    743 ø       ?:v(
     724‹£ÉúDí•ÏoãDÇœ UbN\'€‘8*Û:IӔJ‘pãÔ-›ŠùєBU!o2M
     725þ‘z&éf/ˆ‚#§šgGâßa%7U$ĉHš‡U{àÚš
     726ã$M¶Ûª‚.¬4Ù
     727ϛ™÷Þ×3ž!39•Î€§dœänž2;3ã”.Ÿ—ïÕ]ýzïÕëóq.~Æ7ëqû\³
     728môž<
     729äo'q²˜È&„œ)+:2¯ê‡L|
     730Ÿ˜aù’p×a!(-‡aDŠÀø²Šp%
     731R°×–dŒ3ãK‚
     732„
     733"ÒZ'å
     734JÍÃOŒ,ÔJAIÏF$H
     735˜CŠ²‡dGÁPCËiØ1•ûY‚ðØVTäŸF$        ÀÛP74‘¬ªyši§  ¿iG(«š        LgeS։ƒzGLÀŠd{ŠžéEgÀˆËi:K9%‰ðˆi‡ú­kIє‚9€“8r&ù-pþ– 
     736x’ŸŽ™\㊒S«ºš·ž'4nœÈöo
     737ËiÝ0QØÐÑžýâc]Ö_PUÿžlêCs?$ýT÷Ð(*&ö+ú¶1Ž„e:ý‘`“&³VdE=o¥ãušyhèÇÈcuÄÖë1•‹×6WœÜ¢Œ4C§ÝhTâä•ÜAÉ/Ö
     738ù]nÞ1ÆP2kbÅÐCԁêwõŒ!ÃÈô:Íò †2†I³ª*"B„~ºF@Àñƒ³ÚÝ®ü=§Î
     739®.npÉ
     740Ö±Áâ]GœhóƒšsM¹§Œð])œ˜)zöÁ{(✾]
     741NâUi—×òÂKùÔ'|ÄÇp4çÑøûá{Þ¹ð¯GCº›V–}ÑtE4w¬ðáXÄ÷0ê‘Ð
     742ˆŠ)Xöÿ¶DU÷ †ÅËÒû¯n
     743ËÚÝú>sþ[:®ÙÿÝ^Þ{ŸÿÏxœ^gÿ÷¹ÙþÿBx1ûÿO¿üÐùœý˜¯œ:žÃ
     744œ_y>¬‰^ýËïOE§,>/G)ŒÀÑö7žîÑÑÙ³ú.µ>>é>ý£[p.®|Cèðýã³'à.(|u¹œ;ô.§&žý;ýú[?öÓÿî›øXù\9Žýfr
     745ݧ
     746nÁ¹žN­Z­•ÊõÃÃfѶËõR§]Žª¥b»Ø²Ú
     747ë°T¬5:õF±TkÚ­Ž]ÈÙÿíèôìôQÉ79î끚ǭŸ(øhŒ|®šÏÑš(»\Ž¬b«}xPjV«õZµa7êµJŲJ•r»b[Tfë VªÖ+TߏÎN®Ñ$Ñu‡?ì×OšÊߟ³à”’Œp¥&ÚïhjØ
     748«ÒŽ«õN˲[Z³U/µ*õš]?,µ*öA£ZîXV¥n7;É:=îþùë“cg®žúrR ZþÅS\%c§ž7„{¢äâI`nÝ+
     749ž‡©D@ÌMûB‰˜gÝéœEa-’^ú|7¢EgƒædFü8(íFdLOñɄ
     750ûŸâ
     751ƒÁ`0
     752ƒÁ`0
     753ƒÁ`0
     754FŸ¿ès((
  • 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.