clean up healthcheck.sh script
This commit is contained in:
parent
7f4f8c5bfe
commit
29e2cbb9b2
@ -183,7 +183,7 @@ replication()
|
|||||||
|
|
||||||
# mariadbupgrade
|
# mariadbupgrade
|
||||||
#
|
#
|
||||||
# Test the lock on the file /var/lib/mariadb/mysql_upgrade_info
|
# Test the lock on the file $datadir/mysql_upgrade_info
|
||||||
# https://jira.mariadb.org/browse/MDEV-27068
|
# https://jira.mariadb.org/browse/MDEV-27068
|
||||||
mariadbupgrade()
|
mariadbupgrade()
|
||||||
{
|
{
|
||||||
@ -203,8 +203,8 @@ if [ $# -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Marks the end of mariadb -> mariadb name changes in 10.6+
|
|
||||||
#ENDOFSUBSTITUTIONS
|
#ENDOFSUBSTITUTIONS
|
||||||
|
# Marks the end of mysql -> mariadb name changes in 10.6+
|
||||||
# Global variables used by tests
|
# Global variables used by tests
|
||||||
declare -A repl
|
declare -A repl
|
||||||
declare -A def
|
declare -A def
|
||||||
|
@ -183,7 +183,7 @@ replication()
|
|||||||
|
|
||||||
# mariadbupgrade
|
# mariadbupgrade
|
||||||
#
|
#
|
||||||
# Test the lock on the file /var/lib/mariadb/mysql_upgrade_info
|
# Test the lock on the file $datadir/mysql_upgrade_info
|
||||||
# https://jira.mariadb.org/browse/MDEV-27068
|
# https://jira.mariadb.org/browse/MDEV-27068
|
||||||
mariadbupgrade()
|
mariadbupgrade()
|
||||||
{
|
{
|
||||||
@ -203,8 +203,8 @@ if [ $# -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Marks the end of mariadb -> mariadb name changes in 10.6+
|
|
||||||
#ENDOFSUBSTITUTIONS
|
#ENDOFSUBSTITUTIONS
|
||||||
|
# Marks the end of mysql -> mariadb name changes in 10.6+
|
||||||
# Global variables used by tests
|
# Global variables used by tests
|
||||||
declare -A repl
|
declare -A repl
|
||||||
declare -A def
|
declare -A def
|
||||||
|
@ -183,7 +183,7 @@ replication()
|
|||||||
|
|
||||||
# mariadbupgrade
|
# mariadbupgrade
|
||||||
#
|
#
|
||||||
# Test the lock on the file /var/lib/mysql/mysql_upgrade_info
|
# Test the lock on the file $datadir/mysql_upgrade_info
|
||||||
# https://jira.mariadb.org/browse/MDEV-27068
|
# https://jira.mariadb.org/browse/MDEV-27068
|
||||||
mariadbupgrade()
|
mariadbupgrade()
|
||||||
{
|
{
|
||||||
@ -203,8 +203,8 @@ if [ $# -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Marks the end of mysql -> mariadb name changes in 10.6+
|
|
||||||
#ENDOFSUBSTITUTIONS
|
#ENDOFSUBSTITUTIONS
|
||||||
|
# Marks the end of mysql -> mariadb name changes in 10.6+
|
||||||
# Global variables used by tests
|
# Global variables used by tests
|
||||||
declare -A repl
|
declare -A repl
|
||||||
declare -A def
|
declare -A def
|
||||||
|
@ -183,7 +183,7 @@ replication()
|
|||||||
|
|
||||||
# mariadbupgrade
|
# mariadbupgrade
|
||||||
#
|
#
|
||||||
# Test the lock on the file /var/lib/mysql/mysql_upgrade_info
|
# Test the lock on the file $datadir/mysql_upgrade_info
|
||||||
# https://jira.mariadb.org/browse/MDEV-27068
|
# https://jira.mariadb.org/browse/MDEV-27068
|
||||||
mariadbupgrade()
|
mariadbupgrade()
|
||||||
{
|
{
|
||||||
@ -203,8 +203,8 @@ if [ $# -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Marks the end of mysql -> mariadb name changes in 10.6+
|
|
||||||
#ENDOFSUBSTITUTIONS
|
#ENDOFSUBSTITUTIONS
|
||||||
|
# Marks the end of mysql -> mariadb name changes in 10.6+
|
||||||
# Global variables used by tests
|
# Global variables used by tests
|
||||||
declare -A repl
|
declare -A repl
|
||||||
declare -A def
|
declare -A def
|
||||||
|
@ -183,7 +183,7 @@ replication()
|
|||||||
|
|
||||||
# mariadbupgrade
|
# mariadbupgrade
|
||||||
#
|
#
|
||||||
# Test the lock on the file /var/lib/mysql/mysql_upgrade_info
|
# Test the lock on the file $datadir/mysql_upgrade_info
|
||||||
# https://jira.mariadb.org/browse/MDEV-27068
|
# https://jira.mariadb.org/browse/MDEV-27068
|
||||||
mariadbupgrade()
|
mariadbupgrade()
|
||||||
{
|
{
|
||||||
@ -203,8 +203,8 @@ if [ $# -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Marks the end of mysql -> mariadb name changes in 10.6+
|
|
||||||
#ENDOFSUBSTITUTIONS
|
#ENDOFSUBSTITUTIONS
|
||||||
|
# Marks the end of mysql -> mariadb name changes in 10.6+
|
||||||
# Global variables used by tests
|
# Global variables used by tests
|
||||||
declare -A repl
|
declare -A repl
|
||||||
declare -A def
|
declare -A def
|
||||||
|
@ -183,7 +183,7 @@ replication()
|
|||||||
|
|
||||||
# mariadbupgrade
|
# mariadbupgrade
|
||||||
#
|
#
|
||||||
# Test the lock on the file /var/lib/mariadb/mysql_upgrade_info
|
# Test the lock on the file $datadir/mysql_upgrade_info
|
||||||
# https://jira.mariadb.org/browse/MDEV-27068
|
# https://jira.mariadb.org/browse/MDEV-27068
|
||||||
mariadbupgrade()
|
mariadbupgrade()
|
||||||
{
|
{
|
||||||
@ -203,8 +203,8 @@ if [ $# -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Marks the end of mariadb -> mariadb name changes in 10.6+
|
|
||||||
#ENDOFSUBSTITUTIONS
|
#ENDOFSUBSTITUTIONS
|
||||||
|
# Marks the end of mysql -> mariadb name changes in 10.6+
|
||||||
# Global variables used by tests
|
# Global variables used by tests
|
||||||
declare -A repl
|
declare -A repl
|
||||||
declare -A def
|
declare -A def
|
||||||
|
@ -183,7 +183,7 @@ replication()
|
|||||||
|
|
||||||
# mariadbupgrade
|
# mariadbupgrade
|
||||||
#
|
#
|
||||||
# Test the lock on the file /var/lib/mariadb/mysql_upgrade_info
|
# Test the lock on the file $datadir/mysql_upgrade_info
|
||||||
# https://jira.mariadb.org/browse/MDEV-27068
|
# https://jira.mariadb.org/browse/MDEV-27068
|
||||||
mariadbupgrade()
|
mariadbupgrade()
|
||||||
{
|
{
|
||||||
@ -203,8 +203,8 @@ if [ $# -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Marks the end of mariadb -> mariadb name changes in 10.6+
|
|
||||||
#ENDOFSUBSTITUTIONS
|
#ENDOFSUBSTITUTIONS
|
||||||
|
# Marks the end of mysql -> mariadb name changes in 10.6+
|
||||||
# Global variables used by tests
|
# Global variables used by tests
|
||||||
declare -A repl
|
declare -A repl
|
||||||
declare -A def
|
declare -A def
|
||||||
|
@ -183,7 +183,7 @@ replication()
|
|||||||
|
|
||||||
# mariadbupgrade
|
# mariadbupgrade
|
||||||
#
|
#
|
||||||
# Test the lock on the file /var/lib/mariadb/mysql_upgrade_info
|
# Test the lock on the file $datadir/mysql_upgrade_info
|
||||||
# https://jira.mariadb.org/browse/MDEV-27068
|
# https://jira.mariadb.org/browse/MDEV-27068
|
||||||
mariadbupgrade()
|
mariadbupgrade()
|
||||||
{
|
{
|
||||||
@ -203,8 +203,8 @@ if [ $# -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Marks the end of mariadb -> mariadb name changes in 10.6+
|
|
||||||
#ENDOFSUBSTITUTIONS
|
#ENDOFSUBSTITUTIONS
|
||||||
|
# Marks the end of mysql -> mariadb name changes in 10.6+
|
||||||
# Global variables used by tests
|
# Global variables used by tests
|
||||||
declare -A repl
|
declare -A repl
|
||||||
declare -A def
|
declare -A def
|
||||||
|
@ -183,7 +183,7 @@ replication()
|
|||||||
|
|
||||||
# mariadbupgrade
|
# mariadbupgrade
|
||||||
#
|
#
|
||||||
# Test the lock on the file /var/lib/mariadb/mysql_upgrade_info
|
# Test the lock on the file $datadir/mysql_upgrade_info
|
||||||
# https://jira.mariadb.org/browse/MDEV-27068
|
# https://jira.mariadb.org/browse/MDEV-27068
|
||||||
mariadbupgrade()
|
mariadbupgrade()
|
||||||
{
|
{
|
||||||
@ -203,8 +203,8 @@ if [ $# -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Marks the end of mariadb -> mariadb name changes in 10.6+
|
|
||||||
#ENDOFSUBSTITUTIONS
|
#ENDOFSUBSTITUTIONS
|
||||||
|
# Marks the end of mysql -> mariadb name changes in 10.6+
|
||||||
# Global variables used by tests
|
# Global variables used by tests
|
||||||
declare -A repl
|
declare -A repl
|
||||||
declare -A def
|
declare -A def
|
||||||
|
@ -183,7 +183,7 @@ replication()
|
|||||||
|
|
||||||
# mariadbupgrade
|
# mariadbupgrade
|
||||||
#
|
#
|
||||||
# Test the lock on the file /var/lib/mariadb/mariadb_upgrade_info
|
# Test the lock on the file $datadir/mariadb_upgrade_info
|
||||||
# https://jira.mariadb.org/browse/MDEV-27068
|
# https://jira.mariadb.org/browse/MDEV-27068
|
||||||
mariadbupgrade()
|
mariadbupgrade()
|
||||||
{
|
{
|
||||||
@ -203,8 +203,8 @@ if [ $# -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Marks the end of mariadb -> mariadb name changes in 10.6+
|
|
||||||
#ENDOFSUBSTITUTIONS
|
#ENDOFSUBSTITUTIONS
|
||||||
|
# Marks the end of mysql -> mariadb name changes in 10.6+
|
||||||
# Global variables used by tests
|
# Global variables used by tests
|
||||||
declare -A repl
|
declare -A repl
|
||||||
declare -A def
|
declare -A def
|
||||||
|
@ -183,7 +183,7 @@ replication()
|
|||||||
|
|
||||||
# mariadbupgrade
|
# mariadbupgrade
|
||||||
#
|
#
|
||||||
# Test the lock on the file /var/lib/mysql/mysql_upgrade_info
|
# Test the lock on the file $datadir/mysql_upgrade_info
|
||||||
# https://jira.mariadb.org/browse/MDEV-27068
|
# https://jira.mariadb.org/browse/MDEV-27068
|
||||||
mariadbupgrade()
|
mariadbupgrade()
|
||||||
{
|
{
|
||||||
@ -203,8 +203,8 @@ if [ $# -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Marks the end of mysql -> mariadb name changes in 10.6+
|
|
||||||
#ENDOFSUBSTITUTIONS
|
#ENDOFSUBSTITUTIONS
|
||||||
|
# Marks the end of mysql -> mariadb name changes in 10.6+
|
||||||
# Global variables used by tests
|
# Global variables used by tests
|
||||||
declare -A repl
|
declare -A repl
|
||||||
declare -A def
|
declare -A def
|
||||||
|
Loading…
x
Reference in New Issue
Block a user