fdo-rs / fido-device-onboard-rs

An implementation of the FIDO Device Onboard (FDO) spec written in Rust.
BSD 3-Clause "New" or "Revised" License
63 stars 34 forks source link

test/fdo-postgres.sh: refactor run commands to use exit codes #680

Open runcom opened 1 month ago

runcom commented 1 month ago

As reported here https://github.com/fdo-rs/fido-device-onboard-rs/pull/675#discussion_r1786304470 we shouldn’t be rely on text output from commands but rather use exit code properly. Refactor the code to take this into account.