Update of /cvsroot/popfile/engine/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11212/tests
Modified Files:
Tag: b0_22_2
TestBayesScript.tst
Log Message:
No need to assert the removal of popfile.db and no need to do this with rm.
Index: TestBayesScript.tst
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestBayesScript.tst,v
retrieving revision 1.4.6.1
retrieving revision 1.4.6.2
diff -C2 -d -r1.4.6.1 -r1.4.6.2
*** TestBayesScript.tst 6 Feb 2006 15:19:10 -0000 1.4.6.1
--- TestBayesScript.tst 3 Mar 2008 16:14:18 -0000 1.4.6.2
***************
*** 26,31 ****
test_assert( rec_cp( 'corpus.base', 'corpus' ) );
test_assert( rmtree( 'corpus/CVS' ) > 0 );
! test_assert( `rm popfile.db` == 0 );
!
unlink 'stopwords';
test_assert( copy ( 'stopwords.base', 'stopwords' ) );
--- 26,30 ----
test_assert( rec_cp( 'corpus.base', 'corpus' ) );
test_assert( rmtree( 'corpus/CVS' ) > 0 );
! unlink 'popfile.db';
unlink 'stopwords';
test_assert( copy ( 'stopwords.base', 'stopwords' ) );
|