Re: [PATCH 1/2] t3404: extra checks and s/! git/test_must_fail git/
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- Jun 20, 2008, 18:48 UTC
- Message-ID
- <X-0hXtX7hZGzbL_zS7e4VUMsiMfWiIfABUCFp28XZx0@cipher.nrlssc.navy.mil>
- In-Reply-To
- <1213986614-19536-1-git-send-email-s-beyer@gmx.net>
Stephan Beyer wrote:
> @@ -380,7 +397,7 @@ test_expect_success 'interrupted squash works as expected' ' > ! FAKE_LINES="1 squash 3 2" git rebase -i HEAD~3 &&
These can be converted to use test_must_fail by using a sub-shell as Junio demonstrated:
( FAKE_LINES="1 squash 3 2" && export FAKE_LINES && test_must_fail git rebase -i HEAD~3 ) &&
-brandon