Merge branch 'master' of https://github.com/Softcatala/git-po
[git/debian.git] / t / t4256-am-format-flowed.sh
blob6340310e9afbf3c4f9d1263625aa46762240d3f8
1 #!/bin/sh
3 test_description='test format=flowed support of git am'
5 . ./test-lib.sh
7 test_expect_success 'setup' '
8 cp "$TEST_DIRECTORY/t4256/1/mailinfo.c.orig" mailinfo.c &&
9 git add mailinfo.c &&
10 git commit -m initial
13 test_expect_success 'am with format=flowed' '
14 git am <"$TEST_DIRECTORY/t4256/1/patch" >stdout 2>stderr &&
15 test_i18ngrep "warning: Patch sent with format=flowed" stderr &&
16 test_cmp "$TEST_DIRECTORY/t4256/1/mailinfo.c" mailinfo.c
19 test_done