2
0
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:
Razvan Becheriu
2020-12-17 13:52:49 +02:00
parent 1ad3b271c5
commit 8d8b52f941
2 changed files with 3 additions and 4 deletions

View File

@@ -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

View File

@@ -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}"
}