mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[#1616] fixed cql upgrade script and enabled unittest
This commit is contained in:
@@ -504,7 +504,4 @@ cql_upgrade_test
|
||||
cql_lease4_dump_test
|
||||
cql_lease6_dump_test
|
||||
cql_unused_subnet_id_test
|
||||
# TODO: cql_upgrade_hosts_test below is commented because `generate_key` in
|
||||
# upgrade_3.0_to_4.0.sh generates different keys than the ones in the reference
|
||||
# file. To be investigated...
|
||||
# cql_upgrade_hosts_test
|
||||
cql_upgrade_hosts_test
|
||||
|
@@ -163,6 +163,8 @@ exit_now() {
|
||||
fill() {
|
||||
string=$1;shift
|
||||
count=$1;shift
|
||||
length="${#string}"
|
||||
count=$((count - length));
|
||||
fill_char=$1;shift
|
||||
value="$(printf "%${count}s" | sed "s/ /${fill_char}/g")${string}"
|
||||
}
|
||||
|
Reference in New Issue
Block a user