From a2ea5e3a24b61e9907dc91a057fde328ac9ed42b Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 3 Aug 2023 07:43:30 +0200 Subject: [PATCH] since mkversion doesn generate all the time and only writes to file the sha256, we check the string from --short instead --- tools/pm3_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pm3_tests.sh b/tools/pm3_tests.sh index 68d522ed6..434468147 100755 --- a/tools/pm3_tests.sh +++ b/tools/pm3_tests.sh @@ -250,7 +250,7 @@ while true; do if ! CheckExecute "findbits_test test" "tools/findbits_test.py 2>&1" "OK"; then break; fi if ! CheckExecute "pm3_eml_mfd test" "tools/pm3_eml_mfd_test.py 2>&1" "OK"; then break; fi if ! CheckExecute "recover_pk test" "tools/recover_pk.py selftests 2>&1" "Tests:.*\[OK\]"; then break; fi - if ! CheckExecute "mkversion sha256 test" "tools/mkversion.sh" '"[0-9a-f]{9}"'; then break; fi + if ! CheckExecute "mkversion create test" "tools/mkversion.sh --short" 'Iceman/'; then break; fi fi if $TESTALL || $TESTBOOTROM; then echo -e "\n${C_BLUE}Testing bootrom:${C_NC}"