Re: [PATCH v3 9/9] archive: add tests for git archive --recurse-submodules
- From
Glen Choo <chooglen@google.com>
- Date
- Oct 27, 2022, 23:30 UTC
- Message-ID
- <kl6ledusdety.fsf@chooglen-macbookpro.roam.corp.google.com>
- In-Reply-To
- <20221027185437.1842331-1-jonathantanmy@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
> Also, I don't think we need to extract the tar to check it; using "tf" > and inspecting the resulting list with "grep" and "! grep" should do.
It might be even easier to inspect the output with test_cmp, instead of reasoning about which files should and should not be there.