different with V4: 1.chain test assertions For example: -cat >test-patch <<\EOF -diff --git a/file b/file + cat >test-patch <<-\EOF && + diff --git a/file b/file 2.change the modern style with echo echo x >file && echo y >>file && echo z >>file Change it to this stlye : { echo x && echo y && echo z } >file 3.In order to escape for executable lines inside the test_expect_success. Change ' in executable lines to '\'' in order to escape. (V4 didn't test before sumbit so I show the difference between orgin t4113 ) Shuqi Liang (3): t4113: modernize test script t4113: indent with tab t4113: put executable lines to test_expect_success t/t4113-apply-ending.sh | 81 ++++++++++++++++++++--------------------- 1 file changed, 40 insertions(+), 41 deletions(-) base-commit: c48035d29b4e524aed3a32f0403676f0d9128863 -- 2.39.0