Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1b0566c2
Commit
1b0566c2
authored
Oct 16, 2005
by
petr@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
portability fix: sh does not support "==". This resulted in IM tests failing on range of platforms.
parent
dad1e204
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mysql-test/t/kill_n_check.sh
mysql-test/t/kill_n_check.sh
+2
-2
No files found.
mysql-test/t/kill_n_check.sh
View file @
1b0566c2
...
...
@@ -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."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment