1#!/bin/sh2# Copyright (c) 2011, Google Inc.34test_description='diff --stat-count'5. ./test-lib.sh67test_expect_success setup '8>a &&9>b &&10>c &&11>d &&12git add a b c d &&13chmod +x c d &&14echo a >a &&15echo b >b &&16cat >expect <<-\EOF17a | 1 +18b | 1 +192 files changed, 2 insertions(+), 0 deletions(-)20EOF21git diff --stat --stat-count=2 >actual &&22test_cmp expect actual23'2425test_done