From e0670a06a6920e26072dc838a365e0adde8db6e1 Mon Sep 17 00:00:00 2001 From: "anozdrin/alik@alik." <> Date: Fri, 1 Sep 2006 23:11:45 +0400 Subject: [PATCH] Trivial fix: pid file must exist when kill_n_check.sh is started. --- mysql-test/t/kill_n_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/t/kill_n_check.sh b/mysql-test/t/kill_n_check.sh index 64cc869d1ec..a54fb6ef8bb 100755 --- a/mysql-test/t/kill_n_check.sh +++ b/mysql-test/t/kill_n_check.sh @@ -49,7 +49,7 @@ if [ -z "$pid_path" ]; then exit 0 fi -if [ $expected_result = 'killed' -a ! -r "$pid_path" ]; then +if [ ! -r "$pid_path" ]; then echo "Error: PID file ($pid_path) does not exist." exit 0 fi