Skip to content

Commit

Permalink
test: use a more meaningful name for generate_keys function
Browse files Browse the repository at this point in the history
Rename 'generate_keys' to 'generate_fdo_certificates' to
describe better its purpose.

Signed-off-by: Miguel Martín <[email protected]>
  • Loading branch information
mmartinv committed Oct 7, 2024
1 parent 649cd19 commit b43b6c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/fmf/tests/onboarding/run-onboarding.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ DATABASE_PASSWORD="redhat"
[ "$DATABASE_DRIVER" != "postgresql" ] || DATABASE_URL="${DATABASE_DRIVER}://${DATABASE_USER}:${DATABASE_PASSWORD}@127.0.0.1/fdo"
[ "$DATABASE_DRIVER" != "sqlite" ] || DATABASE_URL="${DATABASE_DRIVER}://${DATABASE_DIR}/fido-device-onboard.db"

generate_keys() {
generate_fdo_certificates() {
ORGANIZATION="Red Hat"
COUNTRY="US"
VALIDITY="3650"
Expand Down Expand Up @@ -190,7 +190,7 @@ onboard() {

[ "${OV_STORE_DRIVER}" != "Sqlite" ] || setup_sqlite
[ "${OV_STORE_DRIVER}" != "Postgres" ] || setup_postgresql
generate_keys
generate_fdo_certificates
setup_manufacturing
setup_owner
setup_rendezvous
Expand Down

0 comments on commit b43b6c2

Please sign in to comment.