2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[#3587] Fixed mysql_tests.sh.in

Removed duplicate function
This commit is contained in:
Thomas Markwalder
2024-10-21 11:34:13 -04:00
parent d46b4036cf
commit bc9a6f0a64

View File

@@ -982,26 +982,6 @@ mysql_upgrade_25_to_26_test() {
check_table_column only_in_additional_list dhcp6_client_class
}
mysql_upgrade_25_to_26_test() {
# client_classes been added to dhcp4_options
qry="select client_classes from dhcp4_options limit 1"
run_command \
mysql_execute "${qry}"
assert_eq 0 "${EXIT_CODE}" "${qry}. (expected status code %d, returned %d)"
# client_classes been added to dhcp6_options
qry="select client_classes from dhcp6_options limit 1"
run_command \
mysql_execute "${qry}"
assert_eq 0 "${EXIT_CODE}" "${qry}. (expected status code %d, returned %d)"
qry="select name from option_def_data_type where id = 3"
run_command \
mysql_execute "${qry}"
assert_eq 0 "${EXIT_CODE}" "${qry}. (expected status code %d, returned %d)"
assert_str_eq 'int8' "${OUTPUT}" "${query}: expected output %s, returned %s"
}
mysql_upgrade_test() {
test_start "mysql.upgrade"