diff options
author | unknown <petr@mysql.com> | 2005-10-16 19:30:10 +0400 |
---|---|---|
committer | unknown <petr@mysql.com> | 2005-10-16 19:30:10 +0400 |
commit | 40e9c83d5d11fdc5454830fedced9598dcff352c (patch) | |
tree | e5d55a9013bb7c193703d51fdc8cde4d077396db /mysql-test | |
parent | f3fe3b8d0b3d7c02361d53a45a53307c1bbe6cda (diff) | |
download | mariadb-git-40e9c83d5d11fdc5454830fedced9598dcff352c.tar.gz |
portability fix: sh does not support "==". This resulted in IM tests failing on range of platforms.
Diffstat (limited to 'mysql-test')
-rwxr-xr-x | mysql-test/t/kill_n_check.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/kill_n_check.sh b/mysql-test/t/kill_n_check.sh index 7fe30c4774c..e722b3a180d 100755 --- a/mysql-test/t/kill_n_check.sh +++ b/mysql-test/t/kill_n_check.sh @@ -39,7 +39,7 @@ new_pid="" # echo "New PID: $new_pid" -if [ "$expected_result" == "restarted" ]; then +if [ "$expected_result" = "restarted" ]; then if [ -z "$new_pid" ]; then echo "Error: the process was killed." @@ -54,7 +54,7 @@ if [ "$expected_result" == "restarted" ]; then echo "Success: the process was restarted." exit 0 -else # $expected_result == killed +else # $expected_result = killed if [ "$new_pid" -a "$new_pid" -ne "$original_pid" ]; then echo "Error: the process was restarted." |