Skip to content

t1500-rev-parse: re-write t1500

Michael Rappazzo git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 10 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2test-lib: add a function to compare an expection with stdout from a commandt/test-lib-functions.sh+34 -06 replies
2/2t1500-rev-parse: rewrite each test to run in isolationt/t1500-rev-parse.sh+295 -604 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchJeff King
1/2Based-on-a-patch-by
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] t1500-rev-parse: re-write t1500

Differences between v1[1]:
- Rebased the change on master.
- Added a test-lib function test_stdout which is similar to test_cmp. This addition is based on a patch from Jeff King[2] found the same discussion.
- Cleaned up the use of subshells as recommended in the discussion.

[1] http://thread.gmane.org/gmane.comp.version-control.git/291087
[2] http://thread.gmane.org/gmane.comp.version-control.git/291087/focus=291475

Michael Rappazzo (2):
test-lib: add a function to compare an expection with stdout from a
command
t1500-rev-parse: rewrite each test to run in isolation

 t/t1500-rev-parse.sh    | 355 ++++++++++++++++++++++++++++++++++++++++--------
 t/test-lib-functions.sh |  34 +++++
 2 files changed, 329 insertions(+), 60 deletions(-)
Signature · 1 line
2.8.0