t / t4100-apply-stat.shon commit Fix git_config_bool_or_int (c35b0b5)
   1#!/bin/sh
   2#
   3# Copyright (c) 2005 Junio C Hamano
   4#
   5
   6test_description='git apply --stat --summary test.
   7
   8'
   9. ./test-lib.sh
  10
  11test_expect_success \
  12    'rename' \
  13    'git apply --stat --summary <../t4100/t-apply-1.patch >current &&
  14    git diff ../t4100/t-apply-1.expect current'
  15
  16test_expect_success \
  17    'copy' \
  18    'git apply --stat --summary <../t4100/t-apply-2.patch >current &&
  19    git diff ../t4100/t-apply-2.expect current'
  20
  21test_expect_success \
  22    'rewrite' \
  23    'git apply --stat --summary <../t4100/t-apply-3.patch >current &&
  24    git diff ../t4100/t-apply-3.expect current'
  25
  26test_expect_success \
  27    'mode' \
  28    'git apply --stat --summary <../t4100/t-apply-4.patch >current &&
  29    git diff ../t4100/t-apply-4.expect current'
  30
  31test_expect_success \
  32    'non git' \
  33    'git apply --stat --summary <../t4100/t-apply-5.patch >current &&
  34    git diff ../t4100/t-apply-5.expect current'
  35
  36test_expect_success \
  37    'non git' \
  38    'git apply --stat --summary <../t4100/t-apply-6.patch >current &&
  39    git diff ../t4100/t-apply-6.expect current'
  40
  41test_expect_success \
  42    'non git' \
  43    'git apply --stat --summary <../t4100/t-apply-7.patch >current &&
  44    git diff ../t4100/t-apply-7.expect current'
  45
  46test_done