summaryrefslogtreecommitdiff
path: root/mysql-test/t/kill_n_check.sh
diff options
context:
space:
mode:
authoranozdrin/alik@alik. <>2006-09-01 23:11:45 +0400
committeranozdrin/alik@alik. <>2006-09-01 23:11:45 +0400
commite0670a06a6920e26072dc838a365e0adde8db6e1 (patch)
tree6f99ce0f1288c267103e22b6e3ec4efe42213c1a /mysql-test/t/kill_n_check.sh
parent1294e7123718abbf80887109470bb42eeb590e02 (diff)
downloadmariadb-git-e0670a06a6920e26072dc838a365e0adde8db6e1.tar.gz
Trivial fix: pid file must exist when kill_n_check.sh is started.
Diffstat (limited to 'mysql-test/t/kill_n_check.sh')
-rwxr-xr-xmysql-test/t/kill_n_check.sh2
1 files changed, 1 insertions, 1 deletions
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