[PATCH v5 0/3] t4113: modernize style
- From
Shuqi Liang <cheskaqiqi@gmail.com>
- Date
- Feb 9, 2023, 15:44 UTC
- Message-ID
- <20230209154417.10763-1-cheskaqiqi@gmail.com>
- In-Reply-To
- <20230206211823.8651-1-cheskaqiqi@gmail.com>
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
} >file3.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