mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
[#1675] spelling: scheme -> schema
This commit is contained in:
@@ -254,7 +254,7 @@ mysql_upgrade_test() {
|
|||||||
# Let's wipe the whole database
|
# Let's wipe the whole database
|
||||||
mysql_wipe
|
mysql_wipe
|
||||||
|
|
||||||
# Initialize database to scheme 1.0.
|
# Initialize database to schema 1.0.
|
||||||
mysql -u"${db_user}" -p"${db_password}" "${db_name}" < "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.mysql"
|
mysql -u"${db_user}" -p"${db_password}" "${db_name}" < "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.mysql"
|
||||||
|
|
||||||
# Sanity check - verify that it reports version 1.0.
|
# Sanity check - verify that it reports version 1.0.
|
||||||
@@ -1096,7 +1096,7 @@ mysql_lease_stat_upgrade_test() {
|
|||||||
# verify the upgrade mechanisms which prepopulate the lease stat
|
# verify the upgrade mechanisms which prepopulate the lease stat
|
||||||
# tables.
|
# tables.
|
||||||
#
|
#
|
||||||
# Initialize database to scheme 1.0.
|
# Initialize database to schema 1.0.
|
||||||
mysql -u"${db_user}" -p"${db_password}" "${db_name}" < "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.mysql"
|
mysql -u"${db_user}" -p"${db_password}" "${db_name}" < "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.mysql"
|
||||||
|
|
||||||
# Now upgrade to schema 4.0, this has lease_state in it
|
# Now upgrade to schema 4.0, this has lease_state in it
|
||||||
@@ -1335,7 +1335,7 @@ mysql_unused_subnet_id_test() {
|
|||||||
# We need to create an older database with lease data so we can
|
# We need to create an older database with lease data so we can
|
||||||
# verify the upgrade mechanisms which convert subnet id values
|
# verify the upgrade mechanisms which convert subnet id values
|
||||||
#
|
#
|
||||||
# Initialize database to scheme 1.0.
|
# Initialize database to schema 1.0.
|
||||||
mysql -u"${db_user}" -p"${db_password}" "${db_name}" < "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.mysql"
|
mysql -u"${db_user}" -p"${db_password}" "${db_name}" < "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.mysql"
|
||||||
|
|
||||||
# Now upgrade to schema 6.0, this has lease_state in it
|
# Now upgrade to schema 6.0, this has lease_state in it
|
||||||
@@ -1423,7 +1423,7 @@ mysql_reservation_mode_upgrade_test() {
|
|||||||
# We need to create an older database with lease data so we can
|
# We need to create an older database with lease data so we can
|
||||||
# verify the upgrade mechanisms which convert subnet id values
|
# verify the upgrade mechanisms which convert subnet id values
|
||||||
#
|
#
|
||||||
# Initialize database to scheme 1.0.
|
# Initialize database to schema 1.0.
|
||||||
mysql -u"${db_user}" -p"${db_password}" "${db_name}" < "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.mysql"
|
mysql -u"${db_user}" -p"${db_password}" "${db_name}" < "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.mysql"
|
||||||
|
|
||||||
# Now upgrade to schema 9.4, the last version with reservation_mode
|
# Now upgrade to schema 9.4, the last version with reservation_mode
|
||||||
|
@@ -703,7 +703,7 @@ pgsql_lease_stat_upgrade_test() {
|
|||||||
# verify the upgrade mechanisms which prepopulate the lease stat
|
# verify the upgrade mechanisms which prepopulate the lease stat
|
||||||
# tables.
|
# tables.
|
||||||
#
|
#
|
||||||
# Initialize database to scheme 1.0.
|
# Initialize database to schema 1.0.
|
||||||
pgsql_execute_script "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.pgsql"
|
pgsql_execute_script "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.pgsql"
|
||||||
assert_eq 0 "${EXIT_CODE}" "cannot initialize 1.0 database, expected exit code: %d, actual: %d"
|
assert_eq 0 "${EXIT_CODE}" "cannot initialize 1.0 database, expected exit code: %d, actual: %d"
|
||||||
|
|
||||||
@@ -944,7 +944,7 @@ pgsql_unused_subnet_id_test() {
|
|||||||
# verify the upgrade mechanisms which prepopulate the lease stat
|
# verify the upgrade mechanisms which prepopulate the lease stat
|
||||||
# tables.
|
# tables.
|
||||||
#
|
#
|
||||||
# Initialize database to scheme 1.0.
|
# Initialize database to schema 1.0.
|
||||||
pgsql_execute_script "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.pgsql"
|
pgsql_execute_script "@abs_top_srcdir@/src/bin/admin/tests/dhcpdb_create_1.0.pgsql"
|
||||||
assert_eq 0 "${EXIT_CODE}" "cannot initialize 1.0 database, expected exit code: %d, actual: %d"
|
assert_eq 0 "${EXIT_CODE}" "cannot initialize 1.0 database, expected exit code: %d, actual: %d"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user