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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
8f4d7e36
Commit
8f4d7e36
authored
Feb 10, 2022
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-27775 : Some Galera tests fail on FreeBSD due to "unknown signal 9"
Replace 9 with KILL
parent
0812d0de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
mysql-test/suite/galera/include/kill_galera.inc
mysql-test/suite/galera/include/kill_galera.inc
+8
-1
No files found.
mysql-test/suite/galera/include/kill_galera.inc
View file @
8f4d7e36
--
echo
Killing
server
...
if
(
!
$kill_signal
)
{
--
let
$kill_signal
=
KILL
}
# Write file to make mysql-test-run.pl expect the crash, but don't start it
--
let
$_server_id
=
`SELECT @@server_id`
--
let
$_expect_file_name
=
$MYSQLTEST_VARDIR
/
tmp
/
mysqld
.
$_server_id
.
expect
...
...
@@ -7,13 +12,15 @@
# Kill the connected server
--
disable_reconnect
--
let
KILL_SIGNAL_VALUE
=
$kill_signal
--
let
KILL_NODE_PIDFILE
=
`SELECT @@pid_file`
--
perl
my
$kill_sig
=
$ENV
{
'KILL_SIGNAL_VALUE'
}
my
$pid_filename
=
$ENV
{
'KILL_NODE_PIDFILE'
};
my
$mysqld_pid
=
`cat $pid_filename`
;
chomp
(
$mysqld_pid
);
system
(
"kill -
9
$mysqld_pid
"
);
system
(
"kill -
s
$kill_sig
$mysqld_pid
"
);
exit
(
0
);
EOF
...
...
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