Update of /cvsroot/popfile/engine/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv23349
Modified Files:
TestConfiguration.tst
Log Message:
increase to 100% coverage
Index: TestConfiguration.tst
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestConfiguration.tst,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TestConfiguration.tst 15 Jul 2003 02:10:23 -0000 1.4
--- TestConfiguration.tst 15 Jul 2003 02:49:22 -0000 1.5
***************
*** 88,91 ****
--- 88,105 ----
}
+ select(undef, undef, undef, 4 * $c->{pid_delay__});
+
+ if ($process != 0) {
+ #parent loop
+ select(undef, undef, undef, $c->{pid_delay__});
+ $c->service();
+ } elsif ($process == 0) {
+ #child loop
+ test_assert_equal( $c->start(), 0);
+ test_assert( !defined( $c->live_check_() ) );
+
+ exit(0);
+ }
+
close STDERR;
$c->stop();
|