Re: [PATCH v2] ssh signing: don't detach the filename strbuf from key_file tempfile
- From
redoste <redoste@redoste.xyz>
- Date
- Jul 7, 2025, 16:22 UTC
- Message-ID
- <DB5YM57RVQTT.35ZS2BA5SHY@redoste.xyz>
- In-Reply-To
- <7130651b-76a6-4eb1-93cf-c9e237d398d7@gmail.com>
On Mon Jul 7, 2025 at 17:26 CEST, Phillip Wood wrote:
> test_file_is_empty will print a diagnostic message if it fails so it > should be clear what has caused the test failure
Uh, okay, this makes sense and I think it will be clear enough. However there is only `test_file_not_empty`, `test_file_is_empty` doesn't exist. I will implement it in an other commit.
> The way I see it is that the changes that are being tested are related > to commit signing as the invariant that we want to assert is that > temporary files are cleaned up after signing commits.
I see.
I will update this for a v3. Thanks for the feedback!
-- redoste