From: Jonathan Nieder Date: Fri, 24 Sep 2010 07:11:02 GMT Subject: [PATCH 04/24] t9300 (fast-import): check exit status from upstream of pipes Message-ID: <20100924071102.GE4666@burratino> In-Reply-To: <20100924065900.GA4666@burratino> Signed-off-by: Jonathan Nieder --- t/t9300-fast-import.sh | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh index 735ac83..47339a3 100755 --- a/t/t9300-fast-import.sh +++ b/t/t9300-fast-import.sh @@ -97,7 +97,8 @@ initial EOF test_expect_success \ 'A: verify commit' \ - 'git cat-file commit master | sed 1d >actual && + 'git cat-file commit master >commit && + sed 1d actual && test_cmp expect actual' cat >expect <expect <actual && + 'git cat-file -p master^{tree} >tree && + sed "s/ [0-9a-f]* / /" actual && test_cmp expect actual' echo "$file2_data" >expect -- 1.7.2.3