Skip to content

Commit

Permalink
automated: linux: update lmp-device-register test
Browse files Browse the repository at this point in the history
This patch updates the strings matching to the current version of the
software.

Signed-off-by: Milosz Wasilewski <[email protected]>
  • Loading branch information
mwasilew committed Feb 13, 2024
1 parent 0a0c385 commit 701befd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automated/linux/lmp-device-register/lmp-device-register.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fi
pipe0_status "lmp-device-register --name ${DEVICE_NAME} -T ${TOKEN} -u ${REG_UUID} -m ${HSM_MODULE} -S 12345678 -P 87654321 2>&1" "tee ${OUTPUT}/registration.log"
# shellcheck disable=SC2181
if [ $? -ne 0 ]; then
grep "ERROR: Device appears to already be registered" "${OUTPUT}/registration.log"
grep "HSM incorrectly configured" "${OUTPUT}/registration.log"
check_return "lmp-device-registered-already"
else
report_fail "lmp-device-registered-already"
Expand Down

0 comments on commit 701befd

Please sign in to comment.