From 02a784efeaf8e7096e4ca7c07fb6fcd3076326f9 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 18 Jan 2008 00:03:38 +0100 Subject: Add C version of safe_process BitKeeper/etc/ignore: Added mysql-test/lib/My/SafeProcess/my_safe_process to the ignore list configure.in: Add Makefile to build safe_process mysql-test/Makefile.am: Build lib/My/SafeProcess mysql-test/lib/My/SafeProcess.pm: Use C version of safe_process mysql-test/lib/t/SafeProcessStress.pl: Decrease number of loops mysql-test/lib/My/SafeProcess/Makefile.am: New BitKeeper file ``mysql-test/lib/My/SafeProcess/Makefile.am'' mysql-test/lib/My/SafeProcess/safe_process.cc: New BitKeeper file ``mysql-test/lib/My/SafeProcess/safe_process.cc'' --- mysql-test/lib/t/SafeProcessStress.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mysql-test/lib/t') diff --git a/mysql-test/lib/t/SafeProcessStress.pl b/mysql-test/lib/t/SafeProcessStress.pl index a31f3031262..0f7a59d67f0 100755 --- a/mysql-test/lib/t/SafeProcessStress.pl +++ b/mysql-test/lib/t/SafeProcessStress.pl @@ -11,7 +11,7 @@ use My::SafeProcess; my $perl_path= $^X; my $verbose= 0; -my $loops= 1000; +my $loops= 100; print "kill one and wait for one\n"; for (1...$loops){ @@ -33,7 +33,7 @@ for (1...$loops){ foreach my $proc (@procs) { $proc->kill(); - # dummyd will always be kiled and thus + # dummyd will always be killed and thus # exit_status should have been set to 1 die "oops, exit_status: ", $proc->exit_status() unless $proc->exit_status() == 1; -- cgit v1.2.1