|
From: <jgr...@us...> - 2003-07-31 14:33:11
|
Update of /cvsroot/popfile/engine/tests In directory sc8-pr-cvs1:/tmp/cvs-serv28961 Modified Files: TestBayes.tst TestPOP3.tst Log Message: Make tests afer so that they don't copy the corpus CVS directory Index: TestBayes.tst =================================================================== RCS file: /cvsroot/popfile/engine/tests/TestBayes.tst,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** TestBayes.tst 27 Jul 2003 21:13:40 -0000 1.19 --- TestBayes.tst 31 Jul 2003 14:33:07 -0000 1.20 *************** *** 9,12 **** --- 9,13 ---- test_assert( `rm -rf corpus` == 0 ); test_assert( `cp -R corpus.base corpus` == 0 ); + test_assert( `rm -rf corpus/CVS` == 0 ); unlink 'stopwords'; Index: TestPOP3.tst =================================================================== RCS file: /cvsroot/popfile/engine/tests/TestPOP3.tst,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TestPOP3.tst 31 Jul 2003 14:20:47 -0000 1.2 --- TestPOP3.tst 31 Jul 2003 14:33:07 -0000 1.3 *************** *** 231,234 **** --- 231,235 ---- test_assert( `rm -rf corpus` == 0 ); test_assert( `cp -R corpus.base corpus` == 0 ); + test_assert( `rm -rf corpus/CVS` == 0 ); my $c = new POPFile::Configuration; |