
Now that the default value for TEST_PASSES_SANITIZE_LEAK is `true` there is no longer a need to have that variable declared in all of our tests. Drop it. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
20 lines
456 B
Bash
Executable File
20 lines
456 B
Bash
Executable File
#!/bin/sh
|
|
|
|
test_description='test format=flowed support of git am'
|
|
|
|
. ./test-lib.sh
|
|
|
|
test_expect_success 'setup' '
|
|
cp "$TEST_DIRECTORY/t4256/1/mailinfo.c.orig" mailinfo.c &&
|
|
git add mailinfo.c &&
|
|
git commit -m initial
|
|
'
|
|
|
|
test_expect_success 'am with format=flowed' '
|
|
git am <"$TEST_DIRECTORY/t4256/1/patch" 2>stderr &&
|
|
test_grep "warning: Patch sent with format=flowed" stderr &&
|
|
test_cmp "$TEST_DIRECTORY/t4256/1/mailinfo.c" mailinfo.c
|
|
'
|
|
|
|
test_done
|