commit abdc4ee6fb5fe9e255c4a15bd681467bf9170cb3c014c82586a376bfdb91740b from: Stefan Sperling date: Fri Oct 9 20:19:35 2026 UTC fix wrong pkt-lengths and commit hashes in send_incompatible_hash_algo test commit - f0621fa8da9579fe4985aadecf40655acafdd1e4ab261d21060127cef3bad63a commit + abdc4ee6fb5fe9e255c4a15bd681467bf9170cb3c014c82586a376bfdb91740b blob - 35cc9ff9ba0c14367dd37d9cf7ed3296661ff065782d3bb388aa6e2a7673b94b blob + 29fd12bc44d68174ca488b1860f586ba33a2b7a455d227bae96f3df217426ecc --- regress/gotd/send_bad.sh +++ regress/gotd/send_bad.sh @@ -36,15 +36,14 @@ test_send_incompatible_hash_algo() { commit2="bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" if [ "$GOT_TEST_ALGO" = "sha256" ]; then - len="0088" + len="0087" other_algo=sha1 capabilities="${basic_capabilities}" else - len="00b0" + len="00b7" other_algo=sha256 - my_dummy_commit="${my_dummy_commit}aaaaaaaaaaaaaaaaaaaaaaaa" - commit1="${commit1}bbbbbbbbbbbbbbbbbbbbbbbb" - commit2="${commit2} object-format=sha256" + commit1="${commit1}aaaaaaaaaaaaaaaaaaaaaaaa" + commit2="${commit2}bbbbbbbbbbbbbbbbbbbbbbbb" fi # The protocol requires an embedded NUL between reference name