fi
# Start name servers running
-$PERL start.pl $test || { echo "E:$test:`date`"; exit 1; }
+$PERL start.pl $test || { echo "R:FAIL"; echo "E:$test:`date`"; exit 1; }
# Run the tests
( cd $test ; $SHELL tests.sh )
if (++$tries > 4) {
print "$0: could not bind to server addresses, still running?\n";
print "I:server sockets not available\n";
- print "R:FAIL\n";
+ print "I:failed\n";
system("$PERL $topdir/stop.pl $testdir"); # Is this the correct behavior?
exit 1;
}
$pid_file = "ans.pid";
} else {
print "I:Unknown server type $server\n";
- print "R:FAIL\n";
+ print "I:failed\n";
system "$PERL $topdir/stop.pl $testdir";
exit 1;
}
while (!-s $pid_file) {
if (++$tries > 140) {
print "I:Couldn't start server $server (pid=$child)\n";
- print "R:FAIL\n";
+ print "I:failed\n";
system "kill -9 $child" if ("$child" ne "");
system "$PERL $topdir/stop.pl $testdir";
exit 1;
if (++$tries >= 30) {
print `grep ";" dig.out > /dev/null`;
print "I:no response from $server\n";
- print "R:FAIL\n";
+ print "I:failed\n";
system("$PERL $topdir/stop.pl $testdir");
exit 1;
}