[PATCH v2 0/2] document test_config & use it whenever possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Fix wording.

---
Firmin Martin (2):
  t/README: document test_config
  t: use test_config whenever possible

 t/README                         | 15 +++++++++++++++
 t/t3200-branch.sh                |  9 +++------
 t/t3900-i18n-commit.sh           |  3 +--
 t/t4027-diff-submodule.sh        |  3 +--
 t/t4041-diff-submodule-option.sh |  3 +--
 t/t4205-log-pretty-formats.sh    |  8 +++-----
 t/t5505-remote.sh                |  3 +--
 t/t5526-fetch-submodules.sh      | 16 ++++------------
 t/t6006-rev-list-format.sh       |  5 ++---
 t/t7401-submodule-summary.sh     |  3 +--
 t/t7610-mergetool.sh             |  2 +-
 t/t7900-maintenance.sh           |  9 +++------
 12 files changed, 36 insertions(+), 43 deletions(-)

Range-diff against v1:
1:  ee35266247 ! 1:  07ca310549 t/README: document test_config
    @@ Commit message
         test_config is used over one thousand times in the test suite, yet not
         documented. Give it a place in the "Test harness library" section.
     
    +    Thanks-to: Eric Sunshine <sunshine@xxxxxxxxxxxxxx>
         Signed-off-by: Firmin Martin <firminmartin24@xxxxxxxxx>
     
      ## t/README ##
    @@ t/README: library for your script to use.
     +   Set the configuration option <config-option> to <value>, and unset it at the
     +   end of the current test. For a similar purpose, test_config_global for
     +   global configuration is also available. Note, however, that test_config_*
    -+   should not be used under a subshell.
    ++   must not be used in a subshell.
     +  
     +   Example:
     +
2:  8a878755ef = 2:  279b5b3701 t: use test_config whenever possible
-- 
2.31.1.443.g67a420f573




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux