stop t1400 hiding errors in tests
The last rm in the test was lacking an "&&" before it, which caused the errors in the commands be silently hidden. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Alex Riesen committed
Nov 9, 2007 at 00:41 UTC
d9c8344b467bb97b8dca8d811c99d4735eca88f2
1 file changed
+1
-1
t/t1400-update-ref.sh
+1
-1
@@ -205,7 +205,7 @@ test_expect_success \
205
echo $h_TEST >.git/MERGE_HEAD &&
206
GIT_AUTHOR_DATE="2005-05-26 23:45" \
207
GIT_COMMITTER_DATE="2005-05-26 23:45" git-commit -F M &&
208
- h_MERGED=$(git rev-parse --verify HEAD)
208
+ h_MERGED=$(git rev-parse --verify HEAD) &&
209
rm -f M'
210
211
cat >expect <<EOF