mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
portability fix: sh does not support "==". This resulted in IM tests failing on range of platforms.
This commit is contained in:
parent
63e7824fc2
commit
45c062ba7f
1 changed files with 2 additions and 2 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue