[PATCH v2 0/2] t1500-rev-parse: re-write t1500
- From
Michael Rappazzo <rappazzo@gmail.com>
- Date
- Apr 16, 2016, 16:13 UTC
- Message-ID
- <1460823230-45692-1-git-send-email-rappazzo@gmail.com>
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 isolationt/t1500-rev-parse.sh | 355 ++++++++++++++++++++++++++++++++++++++++-------- t/test-lib-functions.sh | 34 +++++ 2 files changed, 329 insertions(+), 60 deletions(-)
-- 2.8.0