Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
mariadb
Commits
f7c79336
Commit
f7c79336
authored
19 years ago
by
unknown
Browse files
Options
Download
Plain Diff
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
into mysql.com:/home/cps/mysql/trees/mysql-5.0
parents
924aa6a9
40e9c83d
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 @
f7c79336
...
@@ -39,7 +39,7 @@ new_pid=""
...
@@ -39,7 +39,7 @@ new_pid=""
# echo "New PID: $new_pid"
# echo "New PID: $new_pid"
if
[
"
$expected_result
"
=
=
"restarted"
]
;
then
if
[
"
$expected_result
"
=
"restarted"
]
;
then
if
[
-z
"
$new_pid
"
]
;
then
if
[
-z
"
$new_pid
"
]
;
then
echo
"Error: the process was killed."
echo
"Error: the process was killed."
...
@@ -54,7 +54,7 @@ if [ "$expected_result" == "restarted" ]; then
...
@@ -54,7 +54,7 @@ if [ "$expected_result" == "restarted" ]; then
echo
"Success: the process was restarted."
echo
"Success: the process was restarted."
exit
0
exit
0
else
# $expected_result =
=
killed
else
# $expected_result = killed
if
[
"
$new_pid
"
-a
"
$new_pid
"
-ne
"
$original_pid
"
]
;
then
if
[
"
$new_pid
"
-a
"
$new_pid
"
-ne
"
$original_pid
"
]
;
then
echo
"Error: the process was restarted."
echo
"Error: the process was restarted."
...
...
This diff is collapsed.
Click to expand it.
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