git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 12/16] test-lib: modernize test_create_repo() function

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Apr 16, 2021, 23:38 UTC
Message-ID
<87wnt12424.fsf@evledraar.gmail.com>
In-Reply-To
<20210415211013.GM2947267@szeder.dev>
On Thu, Apr 15 2021, SZEDER Gábor wrote:
Show 16 quoted lines
> On Mon, Apr 12, 2021 at 01:09:01PM +0200, Ævar Arnfjörð Bjarmason wrote:
>> Remove redundant "mkdir -p", argument number checking', test
>> environment sanity checking, and disabling of hooks from
>> test_create_repo(). As we'll see below these were all either redundant
>> to other test other framework code, or to changes in git itself.
>> 
>> Respectively:
>> 
>>  1. "mkdir -p" isn't needed because "git init" itself will create
>>     leading directories if needed.
>> 
>>  2. We don't need to check the number of arguments anymore, instead
>>     we'll feed "git init" with "$@". It will die if given too many
>>     arguments.
>
> Or it will succeed if invoked as e.g. 'test_create_repo --bare repo'.

Which is fine, no? I'll make it clearer in the commit message, but I'm aiming to address plausible bugs due to these functions not erroring out in one way or another, if you call it with "--bare repo" that's clearly what you wanted, as opposed to "foo bar" and we don't create a repo under "bar".

Show 7 quoted lines
>>  3. We won't ever hit that "Cannot setup test environment"
>>     error.
>
> ENOSPC?  Some rogue background process on Windows still desperately
> clinging to an open file descriptor to some file in the same
> directory, preventing 'rm -rf "$TRASH_DIRECTORY"' near the beginning
> of 'test-lib.sh' and interfering with 'git init'?

I mean to say we won't hit it for the reasons we'd have that error there in the first place.

Of course "git init" can still error, but we'll catch that in other ways.

Show 25 quoted lines
>>     Checking the test environment sanity when doing "git init" dates
>>     back to eea420693be (t0000: catch trivial pilot errors.,
>>     2005-12-10) and 2ccd2027b01 (trivial: check, if t/trash directory
>>     was successfully created, 2006-01-05).
>> 
>>     We can also see it in another form a bit later in my own
>>     0d314ce834d (test-lib: use subshell instead of cd $new && .. && cd
>>     $old, 2010-08-30).
>> 
>>     But since 2006f0adaee (t/test-lib: make sure Git has already been
>>     built, 2012-09-17) we already check if we have a built git
>>     earlier.
>> 
>>     The one thing this was testing after that 2012 change was that
>>     we'd just built "git", but not "git-init", but since
>>     3af4c7156c4 (tests: respect GIT_TEST_INSTALLED when initializing
>>     repositories, 2018-11-12) we invoke "git", not "git-init".
>> 
>>     So all of that's been checked already, and we don't need to
>>     re-check it here.
>
> I agree that if we already have a 'git' binary that can run 'git
> version', then we can safely assume that it will be able to run 'git
> init' as well.  It might be that 'git init' is buggy and segfaults,
> but that is not a "have you built things yet?" kind of error.
*nod*
Show 16 quoted lines
>>  4. We don't need to move .git/hooks out of the way.
>> 
>>     That dates back to c09a69a83e3 (Disable hooks during tests.,
>>     2005-10-16), since then hooks became disabled by default in
>>     f98f8cbac01 (Ship sample hooks with .sample suffix, 2008-06-24).
>> 
>>     So the hooks were already disabled by default, but as can be seen
>>     from "mkdir .git/hooks" changes various tests needed to re-setup
>>     that directory. Now they no longer do.
>> 
>>  5. Since we don't need to move the .git/hooks directory we don't need
>>     the subshell here either.
>
> We needed the subshell because we changed directory in
> 'test_create_repo' (even you referenced 0d314ce834d above), not
> because we moved the hooks directory.

Well, yes and no, a minor point but we'd need to do some juggling with saving the $PWD in a variable etc. if it wasn't for the subshell, I think that's why it got added in the first place.

>> In the end it turns out that all we needed was a plain "git init"
>> invocation with a custom --template directory.
>
> We don't need '--template', either; see below.
Ah, interesting.
Show 26 quoted lines
>> diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
>> index c81726acb9e..1258329fdd8 100644
>> --- a/t/test-lib-functions.sh
>> +++ b/t/test-lib-functions.sh
>> @@ -1252,18 +1252,9 @@ test_atexit () {
>>  # Most tests can use the created repository, but some may need to create more.
>>  # Usage: test_create_repo <directory>
>>  test_create_repo () {
>> -	test "$#" = 1 ||
>> -	BUG "not 1 parameter to test-create-repo"
>> -	repo="$1"
>> -	mkdir -p "$repo"
>> -	(
>> -		cd "$repo" || error "Cannot setup test environment"
>> -		"${GIT_TEST_INSTALLED:-$GIT_EXEC_PATH}/git$X" \
>> -			init \
>> -			"--template=$GIT_BUILD_DIR/templates/blt/" >&3 2>&4 ||
>> -		error "cannot run git init -- have you built things yet?"
>> -		mv .git/hooks .git/hooks-disabled
>> -	) || exit
>
> This patch removes this '|| exit', which is...
>
>   - good: if 'test_create_repo' is invoked in a test case (and not in
>     a subshell) and if it were to fail for some reason, then it won't
>     abort the whole test script, but will fail only that test case.
*nod*
Show 10 quoted lines
>   - bad: 'test_create_repo' is responsible for creating the repository
>     in the trash directory as well; if that were to fail for any
>     reason, then the test script will not be aborted early.
>
> I think the 'exit' on error should be removed from 'test_create_repo',
> but the callsite in 'test-lib.sh' should become 'test_create_repo ||
> exit 1'.
>
> In any case, removing this '|| exit' is not mentioned in the commit
> message.

I'll fix that code. FWIW I the "|| exit 1" is effectively not removed in almost all cases where "git init" would error, because in test-lib.sh we cd to the just-init-ed directory, and if we can't we'll fail.

But yes, it won't catch e.g. git-init dying midway through, us running out of space while populating that directory etc.

Show 6 quoted lines
>> +	"${GIT_TEST_INSTALLED:-$GIT_EXEC_PATH}/git$X" \
>
> PATH is already set up to start with GIT_TEST_INSTALLED and/or
> GIT_EXEC_PATH before 'test_create_repo' is called to init the repo in
> the trash directory, so we could simply run 'git' and rely on PATH
> lookup choosing the right executable.
Show 17 quoted lines
>> +		init \
>> +		"--template=$GIT_BUILD_DIR/templates/blt/" "$@" >&3 2>&4
>
> Likewise, GIT_TEMPLATE_DIR is already set up to the same value as in
> this '--template=...' option, so we could omit this option as well.
>
> And after that all that would remain in this function is:
>
>   git init "$1" >&3 2>&4
>
> And those redirections are only needed when this function is called to
> initialize the repo in the trash directory, but not when it creates a
> repo in a test case.  This makes me question the value of having this
> 'test_create_repo' helper function at all; there are already over 800
> cases where we run plain 'git init' outside of 't0001-init.sh' instead
> of 'test_create_repo', though removing it would be definitely cause
> some churn with over 300 callsites.

I'd missed how GIT_TEMPLATE_DIR was being set, that allows us to make this much simpler indeed!

Show 6 quoted lines
>>  }
>>  
>>  # This function helps on symlink challenged file systems when it is not
>> -- 
>> 2.31.1.634.gb41287a30b0
>> 
Previous: SZEDER GáborNext: Ævar Arnfjörð Bjarmason
Message 35 of 175 in “test-lib.sh: new test_commit args, simplification & fixes”
  1. 00/16 test-lib.sh: new test_commit args, simplification & fixesÆvar Arnfjörð Bjarmason, Apr 12, 2021
  2. 01/16 check-non-portable-shell: complain about "test" a/-o instead of &&/||Ævar Arnfjörð Bjarmason, Apr 12, 2021
  3. Eric SunshineApr 12, 2021
  4. Matthieu MoyApr 12, 2021
  5. Junio C HamanoApr 12, 2021
  6. Junio C HamanoApr 12, 2021
  7. Eric SunshineApr 12, 2021
  8. 02/16 test-lib: bring $remove_trash out of retirementÆvar Arnfjörð Bjarmason, Apr 12, 2021
  9. Junio C HamanoApr 12, 2021
  10. Junio C HamanoApr 12, 2021
  11. 04/16 test-lib-functions: reword "test_commit --append" docsÆvar Arnfjörð Bjarmason, Apr 12, 2021
  12. 03/16 test-lib tests: remove dead GIT_TEST_FRAMEWORK_SELFTEST variableÆvar Arnfjörð Bjarmason, Apr 12, 2021
  13. 05/16 test-lib-functions: document test_commit --no-tagÆvar Arnfjörð Bjarmason, Apr 12, 2021
  14. Eric SunshineApr 12, 2021
  15. 06/16 test-lib functions: add an --annotated-tag option to "test_commit"Ævar Arnfjörð Bjarmason, Apr 12, 2021
  16. Đoàn Trần Công DanhApr 15, 2021
  17. 07/16 describe tests: convert setup to use test_commitÆvar Arnfjörð Bjarmason, Apr 12, 2021
  18. 08/16 test-lib functions: add --printf option to test_commitÆvar Arnfjörð Bjarmason, Apr 12, 2021
  19. Eric SunshineApr 12, 2021
  20. Junio C HamanoApr 12, 2021
  21. Eric SunshineApr 12, 2021
  22. Junio C HamanoApr 12, 2021
  23. Ævar Arnfjörð BjarmasonApr 15, 2021
  24. Eric SunshineApr 15, 2021
  25. Junio C HamanoApr 15, 2021
  26. 09/16 submodule tests: use symbolic-ref --short to discover branch nameÆvar Arnfjörð Bjarmason, Apr 12, 2021
  27. 10/16 test-lib: reformat argument list in test_create_repo()Ævar Arnfjörð Bjarmason, Apr 12, 2021
  28. 11/16 test-lib: do not show advice about init.defaultBranch under --verboseÆvar Arnfjörð Bjarmason, Apr 12, 2021
  29. SZEDER GáborApr 15, 2021
  30. 12/16 test-lib: modernize test_create_repo() functionÆvar Arnfjörð Bjarmason, Apr 12, 2021
  31. Junio C HamanoApr 12, 2021
  32. Ævar Arnfjörð BjarmasonApr 15, 2021
  33. SZEDER GáborApr 15, 2021
  34. SZEDER GáborApr 16, 2021
  35. Ævar Arnfjörð BjarmasonApr 16, 2021
  36. 13/16 test-lib-functions: normalize test_path_is_missing() debuggingÆvar Arnfjörð Bjarmason, Apr 12, 2021
  37. 14/16 test-lib-functions: use "return 1" instead of "false"Ævar Arnfjörð Bjarmason, Apr 12, 2021
  38. Junio C HamanoApr 12, 2021
  39. 15/16 Revert and amend "test-lib-functions: assert correct parameter count"Ævar Arnfjörð Bjarmason, Apr 12, 2021
  40. Junio C HamanoApr 12, 2021
  41. Ævar Arnfjörð BjarmasonApr 15, 2021
  42. Andreas SchwabApr 15, 2021
  43. Junio C HamanoApr 15, 2021
  44. Ævar Arnfjörð BjarmasonApr 16, 2021
  45. SZEDER GáborApr 15, 2021
  46. Junio C HamanoApr 15, 2021
  47. Ævar Arnfjörð BjarmasonApr 16, 2021
  48. 16/16 test-lib-functions: remove last two parameter count assertionsÆvar Arnfjörð Bjarmason, Apr 12, 2021
  49. Junio C HamanoApr 12, 2021
  50. Junio C HamanoApr 12, 2021
  51. 00/12 test-lib.sh: new test_commit args, simplification & fixesÆvar Arnfjörð Bjarmason, Apr 17, 2021
  52. 03/12 test-lib tests: remove dead GIT_TEST_FRAMEWORK_SELFTEST variableÆvar Arnfjörð Bjarmason, Apr 17, 2021
  53. 01/12 check-non-portable-shell: check for "test <cond> -a/-o <cond>"Ævar Arnfjörð Bjarmason, Apr 17, 2021
  54. 04/12 test-lib-functions: reword "test_commit --append" docsÆvar Arnfjörð Bjarmason, Apr 17, 2021
  55. 05/12 test-lib-functions: document test_commit --no-tagÆvar Arnfjörð Bjarmason, Apr 17, 2021
  56. 07/12 describe tests: convert setup to use test_commitÆvar Arnfjörð Bjarmason, Apr 17, 2021
  57. 06/12 test-lib functions: add an --annotated option to "test_commit"Ævar Arnfjörð Bjarmason, Apr 17, 2021
  58. 08/12 test-lib functions: add --printf option to test_commitÆvar Arnfjörð Bjarmason, Apr 17, 2021
  59. 09/12 submodule tests: use symbolic-ref --short to discover branch nameÆvar Arnfjörð Bjarmason, Apr 17, 2021
  60. 10/12 test-lib: reformat argument list in test_create_repo()Ævar Arnfjörð Bjarmason, Apr 17, 2021
  61. 11/12 test-lib: do not show advice about init.defaultBranch under --verboseÆvar Arnfjörð Bjarmason, Apr 17, 2021
  62. 12/12 test-lib: split up and deprecate test_create_repo()Ævar Arnfjörð Bjarmason, Apr 17, 2021
  63. SZEDER GáborApr 17, 2021
  64. Ævar Arnfjörð BjarmasonApr 17, 2021
  65. SZEDER GáborApr 20, 2021
  66. 02/12 test-lib: bring $remove_trash out of retirementÆvar Arnfjörð Bjarmason, Apr 17, 2021
  67. 0/3 test-lib-functions.sh: trickery to make -x less verboseÆvar Arnfjörð Bjarmason, Apr 17, 2021
  68. 1/3 test-lib-functions: normalize test_path_is_missing() debuggingÆvar Arnfjörð Bjarmason, Apr 17, 2021
  69. 2/3 Revert and amend "test-lib-functions: assert correct parameter count"Ævar Arnfjörð Bjarmason, Apr 17, 2021
  70. Eric SunshineApr 18, 2021
  71. Ævar Arnfjörð BjarmasonApr 20, 2021
  72. 3/3 test-lib-functions: remove last two parameter count assertionsÆvar Arnfjörð Bjarmason, Apr 17, 2021
  73. 00/12 test-lib.sh: new test_commit args, simplification & fixesÆvar Arnfjörð Bjarmason, Apr 20, 2021
  74. 01/12 check-non-portable-shell: check for "test <cond> -a/-o <cond>"Ævar Arnfjörð Bjarmason, Apr 20, 2021
  75. Junio C HamanoApr 20, 2021
  76. Ævar Arnfjörð BjarmasonApr 21, 2021
  77. Đoàn Trần Công DanhApr 21, 2021
  78. 1/2 t6400: check exit status of ls-filesĐoàn Trần Công Danh, Apr 21, 2021
  79. 2/2 t6402: check exit status of ls-filesĐoàn Trần Công Danh, Apr 21, 2021
  80. Eric SunshineApr 21, 2021
  81. Eric SunshineApr 21, 2021
  82. Junio C HamanoApr 21, 2021
  83. Đoàn Trần Công DanhApr 22, 2021
  84. Ævar Arnfjörð BjarmasonApr 22, 2021
  85. Eric SunshineApr 22, 2021
  86. Đoàn Trần Công DanhApr 22, 2021
  87. Ævar Arnfjörð BjarmasonApr 22, 2021
  88. Ævar Arnfjörð BjarmasonApr 21, 2021
  89. Junio C HamanoApr 21, 2021
  90. Junio C HamanoApr 21, 2021
  91. 02/12 test-lib: bring $remove_trash out of retirementÆvar Arnfjörð Bjarmason, Apr 20, 2021
  92. Junio C HamanoApr 20, 2021
  93. 03/12 test-lib tests: remove dead GIT_TEST_FRAMEWORK_SELFTEST variableÆvar Arnfjörð Bjarmason, Apr 20, 2021
  94. 05/12 test-lib-functions: document test_commit --no-tagÆvar Arnfjörð Bjarmason, Apr 20, 2021
  95. 04/12 test-lib-functions: reword "test_commit --append" docsÆvar Arnfjörð Bjarmason, Apr 20, 2021
  96. 06/12 test-lib functions: add an --annotated option to "test_commit"Ævar Arnfjörð Bjarmason, Apr 20, 2021
  97. 07/12 describe tests: convert setup to use test_commitÆvar Arnfjörð Bjarmason, Apr 20, 2021
  98. 08/12 test-lib functions: add --printf option to test_commitÆvar Arnfjörð Bjarmason, Apr 20, 2021
  99. 09/12 submodule tests: use symbolic-ref --short to discover branch nameÆvar Arnfjörð Bjarmason, Apr 20, 2021
  100. 10/12 test-lib: reformat argument list in test_create_repo()Ævar Arnfjörð Bjarmason, Apr 20, 2021
  101. 11/12 test-lib: do not show advice about init.defaultBranch under --verboseÆvar Arnfjörð Bjarmason, Apr 20, 2021
  102. 12/12 test-lib: split up and deprecate test_create_repo()Ævar Arnfjörð Bjarmason, Apr 20, 2021
  103. 00/11 test-lib.sh: new test_commit args, simplification & fixesÆvar Arnfjörð Bjarmason, Apr 21, 2021
  104. 02/11 test-lib tests: remove dead GIT_TEST_FRAMEWORK_SELFTEST variableÆvar Arnfjörð Bjarmason, Apr 21, 2021
  105. 01/11 test-lib: bring $remove_trash out of retirementÆvar Arnfjörð Bjarmason, Apr 21, 2021
  106. 03/11 test-lib-functions: reword "test_commit --append" docsÆvar Arnfjörð Bjarmason, Apr 21, 2021
  107. 04/11 test-lib-functions: document test_commit --no-tagÆvar Arnfjörð Bjarmason, Apr 21, 2021
  108. 05/11 test-lib functions: add an --annotated option to "test_commit"Ævar Arnfjörð Bjarmason, Apr 21, 2021
  109. 07/11 test-lib functions: add --printf option to test_commitÆvar Arnfjörð Bjarmason, Apr 21, 2021
  110. 06/11 describe tests: convert setup to use test_commitÆvar Arnfjörð Bjarmason, Apr 21, 2021
  111. 08/11 submodule tests: use symbolic-ref --short to discover branch nameÆvar Arnfjörð Bjarmason, Apr 21, 2021
  112. 09/11 test-lib: reformat argument list in test_create_repo()Ævar Arnfjörð Bjarmason, Apr 21, 2021
  113. 10/11 test-lib: do not show advice about init.defaultBranch under --verboseÆvar Arnfjörð Bjarmason, Apr 21, 2021
  114. 11/11 test-lib: split up and deprecate test_create_repo()Ævar Arnfjörð Bjarmason, Apr 21, 2021
  115. SZEDER GáborApr 21, 2021
  116. Ævar Arnfjörð BjarmasonApr 22, 2021
  117. 00/11 test-lib.sh: new test_commit args, simplification & fixesÆvar Arnfjörð Bjarmason, Apr 23, 2021
  118. 01/11 test-lib: bring $remove_trash out of retirementÆvar Arnfjörð Bjarmason, Apr 23, 2021
  119. Đoàn Trần Công DanhMay 6, 2021
  120. 02/11 test-lib tests: remove dead GIT_TEST_FRAMEWORK_SELFTEST variableÆvar Arnfjörð Bjarmason, Apr 23, 2021
  121. 03/11 test-lib-functions: reword "test_commit --append" docsÆvar Arnfjörð Bjarmason, Apr 23, 2021
  122. 04/11 test-lib-functions: document test_commit --no-tagÆvar Arnfjörð Bjarmason, Apr 23, 2021
  123. 05/11 test-lib functions: add an --annotated option to "test_commit"Ævar Arnfjörð Bjarmason, Apr 23, 2021
  124. 06/11 describe tests: convert setup to use test_commitÆvar Arnfjörð Bjarmason, Apr 23, 2021
  125. Đoàn Trần Công DanhMay 6, 2021
  126. 07/11 test-lib functions: add --printf option to test_commitÆvar Arnfjörð Bjarmason, Apr 23, 2021
  127. Đoàn Trần Công DanhMay 6, 2021
  128. 08/11 submodule tests: use symbolic-ref --short to discover branch nameÆvar Arnfjörð Bjarmason, Apr 23, 2021
  129. 09/11 test-lib: reformat argument list in test_create_repo()Ævar Arnfjörð Bjarmason, Apr 23, 2021
  130. 10/11 test-lib: do not show advice about init.defaultBranch under --verboseÆvar Arnfjörð Bjarmason, Apr 23, 2021
  131. 11/11 test-lib: split up and deprecate test_create_repo()Ævar Arnfjörð Bjarmason, Apr 23, 2021
  132. Junio C HamanoApr 29, 2021
  133. Ævar Arnfjörð BjarmasonMay 6, 2021
  134. Đoàn Trần Công DanhMay 6, 2021
  135. 00/11 test-lib.sh: new test_commit args, simplification & fixesÆvar Arnfjörð Bjarmason, May 10, 2021
  136. 01/11 test-lib: bring $remove_trash out of retirementÆvar Arnfjörð Bjarmason, May 10, 2021
  137. 02/11 test-lib tests: remove dead GIT_TEST_FRAMEWORK_SELFTEST variableÆvar Arnfjörð Bjarmason, May 10, 2021
  138. 03/11 test-lib-functions: reword "test_commit --append" docsÆvar Arnfjörð Bjarmason, May 10, 2021
  139. 04/11 test-lib-functions: document test_commit --no-tagÆvar Arnfjörð Bjarmason, May 10, 2021
  140. 05/11 test-lib functions: add an --annotated option to "test_commit"Ævar Arnfjörð Bjarmason, May 10, 2021
  141. 06/11 describe tests: convert setup to use test_commitÆvar Arnfjörð Bjarmason, May 10, 2021
  142. 07/11 test-lib functions: add --printf option to test_commitÆvar Arnfjörð Bjarmason, May 10, 2021
  143. 08/11 submodule tests: use symbolic-ref --short to discover branch nameÆvar Arnfjörð Bjarmason, May 10, 2021
  144. 10/11 test-lib: do not show advice about init.defaultBranch under --verboseÆvar Arnfjörð Bjarmason, May 10, 2021
  145. 09/11 test-lib: reformat argument list in test_create_repo()Ævar Arnfjörð Bjarmason, May 10, 2021
  146. 11/11 test-lib: split up and deprecate test_create_repo()Ævar Arnfjörð Bjarmason, May 10, 2021
  147. Felipe ContrerasMay 13, 2021
  148. Ævar Arnfjörð BjarmasonMay 13, 2021
  149. Felipe ContrerasMay 13, 2021
  150. Ævar Arnfjörð BjarmasonMay 13, 2021
  151. Felipe ContrerasMay 13, 2021
  152. Đoàn Trần Công DanhMay 12, 2021
  153. Junio C HamanoMay 12, 2021
  154. 0/3 test-lib-functions.sh: trickery to make -x less verboseÆvar Arnfjörð Bjarmason, Apr 20, 2021
  155. 1/3 test-lib-functions: normalize test_path_is_missing() debuggingÆvar Arnfjörð Bjarmason, Apr 20, 2021
  156. 3/3 test-lib-functions: remove last two parameter count assertionsÆvar Arnfjörð Bjarmason, Apr 20, 2021
  157. Junio C HamanoApr 20, 2021
  158. 2/3 Revert and amend "test-lib-functions: assert correct parameter count"Ævar Arnfjörð Bjarmason, Apr 20, 2021
  159. Eric SunshineApr 20, 2021
  160. Ævar Arnfjörð BjarmasonApr 21, 2021
  161. 0/5 test-lib-functions.sh: trickery to make -x less verboseÆvar Arnfjörð Bjarmason, Apr 21, 2021
  162. 2/5 Revert and amend "test-lib-functions: assert correct parameter count"Ævar Arnfjörð Bjarmason, Apr 21, 2021
  163. 1/5 test-lib-functions: normalize test_path_is_missing() debuggingÆvar Arnfjörð Bjarmason, Apr 21, 2021
  164. 3/5 test helpers: remove unused test-tool path-utils slice-testsÆvar Arnfjörð Bjarmason, Apr 21, 2021
  165. Ævar Arnfjörð BjarmasonApr 21, 2021
  166. 4/5 test-helpers: rename "path-utils is_valid_path" to "is-valid-paths"Ævar Arnfjörð Bjarmason, Apr 21, 2021
  167. 5/5 test-helpers: split "file-size" into "file-size(s)"Ævar Arnfjörð Bjarmason, Apr 21, 2021
  168. 0/4 test-lib-functions.sh: trickery to make -x less verboseÆvar Arnfjörð Bjarmason, Apr 23, 2021
  169. 1/4 test-lib-functions: normalize test_path_is_missing() debuggingÆvar Arnfjörð Bjarmason, Apr 23, 2021
  170. Junio C HamanoApr 29, 2021
  171. 2/4 Revert and amend "test-lib-functions: assert correct parameter count"Ævar Arnfjörð Bjarmason, Apr 23, 2021
  172. Junio C HamanoApr 29, 2021
  173. Felipe ContrerasApr 29, 2021
  174. 4/4 test-helpers: split "file-size" into "file-size(s)"Ævar Arnfjörð Bjarmason, Apr 23, 2021
  175. 3/4 test-helpers: rename "path-utils is_valid_path" to "is-valid-paths"Ævar Arnfjörð Bjarmason, Apr 23, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.