Update of /cvsroot/popfile/engine/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9268/tests
Modified Files:
Tag: b0_22_2
TestHistory.tst
Log Message:
1. Apply Brian's patch to speed up history cleanup.
2. Make the history tests work on my system where there are no CVS subdirs.
Index: TestHistory.tst
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestHistory.tst,v
retrieving revision 1.12.4.1
retrieving revision 1.12.4.2
diff -C2 -d -r1.12.4.1 -r1.12.4.2
*** TestHistory.tst 6 Feb 2006 15:19:10 -0000 1.12.4.1
--- TestHistory.tst 17 Apr 2008 09:29:28 -0000 1.12.4.2
***************
*** 25,29 ****
rmtree( 'corpus' );
test_assert( rec_cp( 'corpus.base', 'corpus' ) );
! test_assert( rmtree( 'corpus/CVS' ) > 0 );
unlink 'popfile.db';
--- 25,29 ----
rmtree( 'corpus' );
test_assert( rec_cp( 'corpus.base', 'corpus' ) );
! rmtree( 'corpus/CVS' );
unlink 'popfile.db';
***************
*** 170,179 ****
sleep(2);
! # This is a message for testing evil spammer header tricks or
# unusual header malformations that may end up parsed into our
# history database
# Please list tricks or malformations here
! # Subject: =?UNKNOWN?B??= (Should produce a "header missing" string in the
# database rather than an empty string)
#
--- 170,179 ----
sleep(2);
! # This is a message for testing evil spammer header tricks or
# unusual header malformations that may end up parsed into our
# history database
# Please list tricks or malformations here
! # Subject: =?UNKNOWN?B??= (Should produce a "header missing" string in the
# database rather than an empty string)
#
|