Merge branch 'dl/format-patch-doc-test-cleanup'
test cleanup. * dl/format-patch-doc-test-cleanup: t4014: treat rev-list output as the expected value
This commit is contained in:
commit
1ef3bd362a
@ -1610,8 +1610,9 @@ test_expect_success 'format-patch format.outputDirectory option' '
|
|||||||
test_config format.outputDirectory patches &&
|
test_config format.outputDirectory patches &&
|
||||||
rm -fr patches &&
|
rm -fr patches &&
|
||||||
git format-patch master..side &&
|
git format-patch master..side &&
|
||||||
git rev-list master..side >list &&
|
count=$(git rev-list --count master..side) &&
|
||||||
test_line_count = $(ls patches | wc -l) list
|
ls patches >list &&
|
||||||
|
test_line_count = $count list
|
||||||
'
|
'
|
||||||
|
|
||||||
test_expect_success 'format-patch -o overrides format.outputDirectory' '
|
test_expect_success 'format-patch -o overrides format.outputDirectory' '
|
||||||
|
Loading…
Reference in New Issue
Block a user