summaryrefslogtreecommitdiff
path: root/mysql-test/t/kill_n_check.sh
diff options
context:
space:
mode:
authorunknown <anozdrin/alik@alik.>2006-09-01 23:11:45 +0400
committerunknown <anozdrin/alik@alik.>2006-09-01 23:11:45 +0400
commitf32e734dddff881955c0d3476698e3cb836874e9 (patch)
tree6f99ce0f1288c267103e22b6e3ec4efe42213c1a /mysql-test/t/kill_n_check.sh
parenta131dae21c81b4450815d2c111bdb56565c66b9f (diff)
downloadmariadb-git-f32e734dddff881955c0d3476698e3cb836874e9.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