[PATCH 0/2] here-doc test bodies

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

 



This is a re-post of an idea from 2021:

  https://lore.kernel.org/git/YHDUg6ZR5vu93kGm@xxxxxxxxxxxxxxxxxxxxxxx/

that people seemed mostly positive on, and I just never got around to
following up. Mostly because it's not life-changing, but I think it is a
small quality of life improvement, and it came up again recently in:

  https://lore.kernel.org/git/20240701032047.GA610406@xxxxxxxxxxxxxxxxxxxxxxx/

So I thought it was worth considering again.

  [1/2]: test-lib: allow test snippets as here-docs
  [2/2]: t: convert some here-doc test bodies

 t/README                     |   8 ++
 t/t0600-reffiles-backend.sh  |  38 +++----
 t/t1404-update-ref-errors.sh | 196 +++++++++++++++++------------------
 t/test-lib-functions.sh      |  32 +++++-
 4 files changed, 152 insertions(+), 122 deletions(-)

-Peff




[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