[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests: cp, install, move: check for data loss with just-crea
|
From: |
Collin Funk |
|
Subject: |
Re: [PATCH] tests: cp, install, move: check for data loss with just-created files |
|
Date: |
Thu, 18 Jun 2026 19:36:19 -0700 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Pádraig Brady <P@draigBrady.com> writes:
> On 18/06/2026 04:52, Collin Funk wrote:
>> reset_files ()
>> +{
>> + rm -rf a b c || framework_failure_
>> + mkdir a b c || framework_failure_
>> + cat exp-a > a/f || framework_failure_
>> + cat exp-b > b/f || framework_failure_
>> +}
>
> I'd probably change the above to:
>
> rm ... &&
> mkdir ... &&
> cat ... &&
> cat ... || framework_failure_
>
> Otherwise, LGTM.
Thanks for checking.
I pushed with that change and doing s/move/mv/ on the commit message.
Collin