Documentation: convert "glossary" and "core-tutorial" to man pages
[git/gitweb.git] / t / t4100-apply-stat.sh
blob8073a5a1f23ebb76cb1273c80d1e031a03a03ed8
1 #!/bin/sh
3 # Copyright (c) 2005 Junio C Hamano
6 test_description='git apply --stat --summary test.
9 . ./test-lib.sh
11 test_expect_success \
12 'rename' \
13 'git apply --stat --summary <../t4100/t-apply-1.patch >current &&
14 test_cmp ../t4100/t-apply-1.expect current'
16 test_expect_success \
17 'copy' \
18 'git apply --stat --summary <../t4100/t-apply-2.patch >current &&
19 test_cmp ../t4100/t-apply-2.expect current'
21 test_expect_success \
22 'rewrite' \
23 'git apply --stat --summary <../t4100/t-apply-3.patch >current &&
24 test_cmp ../t4100/t-apply-3.expect current'
26 test_expect_success \
27 'mode' \
28 'git apply --stat --summary <../t4100/t-apply-4.patch >current &&
29 test_cmp ../t4100/t-apply-4.expect current'
31 test_expect_success \
32 'non git' \
33 'git apply --stat --summary <../t4100/t-apply-5.patch >current &&
34 test_cmp ../t4100/t-apply-5.expect current'
36 test_expect_success \
37 'non git' \
38 'git apply --stat --summary <../t4100/t-apply-6.patch >current &&
39 test_cmp ../t4100/t-apply-6.expect current'
41 test_expect_success \
42 'non git' \
43 'git apply --stat --summary <../t4100/t-apply-7.patch >current &&
44 test_cmp ../t4100/t-apply-7.expect current'
46 test_done