Re: [PATCH 1/1] Add the `p4-pre-submit` hook
- From
Luke Diamand <luke@diamand.org>
- Date
- Jul 31, 2018, 13:40 UTC
- Message-ID
- <CAE5ih7_jh55mLVBhiu12gmc0j3mGkm4s0VU2Stx5iGf1tK6yzA@mail.gmail.com>
- In-Reply-To
- <20180731084638.18793-1-szeder.dev@gmail.com>
I think there is an error in the test harness.
On 31 July 2018 at 10:46, SZEDER Gábor <szeder.dev@gmail.com> wrote:
>> + test_must_fail git-p4 submit --dry-run >errs 2>&1 &&> >> + ! grep "Would apply" err
It writes to the file "errs" but then looks for the message in "err".
Luke