mbox series

[v5,0/5,Outreachy] modernize the test scripts

Message ID 20201021124823.2217-1-charvi077@gmail.com (mailing list archive)
Headers show
Series modernize the test scripts | expand

Message

Charvi Mendiratta Oct. 21, 2020, 12:48 p.m. UTC
In this patch series, I have combined all the correct patches
from version 3 and version 4 and this patch series consists of
(v3 1-4/5 + v4) patches, else everything remains unchanged.
I have also tested by applying it locally, in order to confirm 
that these patches are usable.

Thanks to Junio and Taylor for the guidance.

This patch series :
 -modernize the three test scripts : t7101, t7201 and t7102.
 - cleans up with 5 types of changes in all the three scripts.
   1. Converting the old style test format to new one
   2. Removing blankspaces in test bodies
   3. Removing whitespaces after the redirect operator, according to
      CodingGuidelines 
   4. Using 'git -C' to avoid use of another subshell 
   5. Placing commands in separate lines


Charvi Mendiratta (5):
  t7101,t7102,t7201: modernize test formatting
  t7102,t7201: remove unnecessary blank spaces in test body
  t7102,t7201: remove whitespace after redirect operator
  t7201: use 'git -C' to avoid subshell
  t7201: put each command on a separate line

 t/t7101-reset-empty-subdirs.sh |  66 ++++++++++-----------
 t/t7102-reset.sh               |  63 ++++++++------------
 t/t7201-co.sh                  | 102 +++++++++++++--------------------
 3 files changed, 96 insertions(+), 135 deletions(-)