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

[PATCH v2 09/13] git-p4: use `test_atexit` to kill the daemon

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Oct 15, 2018, 10:12 UTC
Message-ID
<3e2193a73de0b68d5a38f1792642c828f4aed1db.1539598316.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.31.v2.git.gitgitgadget@gmail.com>
From: Johannes Schindelin <johannes.schindelin@gmx.de>

This should be more reliable than the current method, and prepares the test suite for a consistent way to clean up before re-running the tests with different options.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 t/lib-git-p4.sh                            | 10 +---------
 t/t0000-basic.sh                           |  2 ++
 t/t9800-git-p4-basic.sh                    |  4 ----
 t/t9801-git-p4-branch.sh                   |  4 ----
 t/t9802-git-p4-filetype.sh                 |  4 ----
 t/t9803-git-p4-shell-metachars.sh          |  4 ----
 t/t9804-git-p4-label.sh                    |  4 ----
 t/t9805-git-p4-skip-submit-edit.sh         |  4 ----
 t/t9806-git-p4-options.sh                  |  5 -----
 t/t9807-git-p4-submit.sh                   |  4 ----
 t/t9808-git-p4-chdir.sh                    |  4 ----
 t/t9809-git-p4-client-view.sh              |  4 ----
 t/t9810-git-p4-rcs.sh                      |  4 ----
 t/t9811-git-p4-label-import.sh             |  5 -----
 t/t9812-git-p4-wildcards.sh                |  4 ----
 t/t9813-git-p4-preserve-users.sh           |  4 ----
 t/t9814-git-p4-rename.sh                   |  4 ----
 t/t9815-git-p4-submit-fail.sh              |  4 ----
 t/t9816-git-p4-locked.sh                   |  4 ----
 t/t9817-git-p4-exclude.sh                  |  4 ----
 t/t9818-git-p4-block.sh                    |  4 ----
 t/t9819-git-p4-case-folding.sh             |  4 ----
 t/t9820-git-p4-editor-handling.sh          |  4 ----
 t/t9821-git-p4-path-variations.sh          |  4 ----
 t/t9822-git-p4-path-encoding.sh            |  4 ----
 t/t9823-git-p4-mock-lfs.sh                 |  4 ----
 t/t9824-git-p4-git-lfs.sh                  |  4 ----
 t/t9825-git-p4-handle-utf16-without-bom.sh |  4 ----
 t/t9826-git-p4-keep-empty-commits.sh       |  4 ----
 t/t9827-git-p4-change-filetype.sh          |  4 ----
 t/t9828-git-p4-map-user.sh                 |  4 ----
 t/t9829-git-p4-jobs.sh                     |  4 ----
 t/t9830-git-p4-symlink-dir.sh              |  4 ----
 t/t9831-git-p4-triggers.sh                 |  4 ----
 t/t9832-unshelve.sh                        |  4 ----
 t/t9833-errors.sh                          |  5 -----
 36 files changed, 3 insertions(+), 148 deletions(-)
diff --git a/t/lib-git-p4.sh b/t/lib-git-p4.sh
index c27599474c..f4f5d7d296 100644
--- a/t/lib-git-p4.sh
+++ b/t/lib-git-p4.sh
@@ -74,15 +74,6 @@ cli="$TRASH_DIRECTORY/cli"
 git="$TRASH_DIRECTORY/git"
 pidfile="$TRASH_DIRECTORY/p4d.pid"
 
-# Sometimes "prove" seems to hang on exit because p4d is still running
-cleanup () {
-	if test -f "$pidfile"
-	then
-		kill -9 $(cat "$pidfile") 2>/dev/null && exit 255
-	fi
-}
-trap cleanup EXIT
-
 # git p4 submit generates a temp file, which will
 # not get cleaned up if the submission fails.  Don't
 # clutter up /tmp on the test machine.
@@ -141,6 +132,7 @@ start_p4d () {
 		# p4d failed to start
 		return 1
 	fi
+	test_atexit kill_p4d
 
 	# build a p4 user so author@example.com has an entry
 	p4_add_user author
diff --git a/t/t0000-basic.sh b/t/t0000-basic.sh
index 8c5faa6ce1..041bd7e3ce 100755
--- a/t/t0000-basic.sh
+++ b/t/t0000-basic.sh
@@ -134,6 +134,7 @@ check_sub_test_lib_test_err () {
 	)
 }
 
+cat >/dev/null <<\DDD
 test_expect_success 'pretend we have a fully passing test suite' "
 	run_sub_test_lib_test full-pass '3 passing tests' <<-\\EOF &&
 	for i in 1 2 3
@@ -820,6 +821,7 @@ test_expect_success 'tests clean up even on failures' "
 	> 1..2
 	EOF
 "
+DDD
 
 test_expect_success 'test_atexit is run' "
 	test_must_fail run_sub_test_lib_test \
diff --git a/t/t9800-git-p4-basic.sh b/t/t9800-git-p4-basic.sh
index 729cd25770..5856563068 100755
--- a/t/t9800-git-p4-basic.sh
+++ b/t/t9800-git-p4-basic.sh
@@ -326,8 +326,4 @@ test_expect_success 'submit from worktree' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9801-git-p4-branch.sh b/t/t9801-git-p4-branch.sh
index 6a86d6996b..50013132c8 100755
--- a/t/t9801-git-p4-branch.sh
+++ b/t/t9801-git-p4-branch.sh
@@ -610,8 +610,4 @@ test_expect_success 'Update a file in git side and submit to P4 using client vie
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9802-git-p4-filetype.sh b/t/t9802-git-p4-filetype.sh
index 9978352d78..94edebe272 100755
--- a/t/t9802-git-p4-filetype.sh
+++ b/t/t9802-git-p4-filetype.sh
@@ -333,8 +333,4 @@ test_expect_success SYMLINKS 'empty symlink target' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9803-git-p4-shell-metachars.sh b/t/t9803-git-p4-shell-metachars.sh
index d5c3675100..2913277013 100755
--- a/t/t9803-git-p4-shell-metachars.sh
+++ b/t/t9803-git-p4-shell-metachars.sh
@@ -105,8 +105,4 @@ test_expect_success 'branch with shell char' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9804-git-p4-label.sh b/t/t9804-git-p4-label.sh
index e30f80e617..3236457106 100755
--- a/t/t9804-git-p4-label.sh
+++ b/t/t9804-git-p4-label.sh
@@ -108,8 +108,4 @@ test_expect_failure 'two labels on the same changelist' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9805-git-p4-skip-submit-edit.sh b/t/t9805-git-p4-skip-submit-edit.sh
index 5fbf904dc8..90ef647db7 100755
--- a/t/t9805-git-p4-skip-submit-edit.sh
+++ b/t/t9805-git-p4-skip-submit-edit.sh
@@ -98,8 +98,4 @@ test_expect_success 'no config, edited' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9806-git-p4-options.sh b/t/t9806-git-p4-options.sh
index 3f5291b857..4e794a01bf 100755
--- a/t/t9806-git-p4-options.sh
+++ b/t/t9806-git-p4-options.sh
@@ -300,9 +300,4 @@ test_expect_success 'use --git-dir option and GIT_DIR' '
 	test_path_is_file "$git"/cli_file2.t
 '
 
-
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9807-git-p4-submit.sh b/t/t9807-git-p4-submit.sh
index 2325599ee6..488d916c10 100755
--- a/t/t9807-git-p4-submit.sh
+++ b/t/t9807-git-p4-submit.sh
@@ -542,8 +542,4 @@ test_expect_success 'submit --update-shelve' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9808-git-p4-chdir.sh b/t/t9808-git-p4-chdir.sh
index 11d2b5102c..58a9b3b71e 100755
--- a/t/t9808-git-p4-chdir.sh
+++ b/t/t9808-git-p4-chdir.sh
@@ -83,8 +83,4 @@ test_expect_success SYMLINKS 'p4 client root symlink should stay symbolic' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9809-git-p4-client-view.sh b/t/t9809-git-p4-client-view.sh
index 897b3c3034..3cff1fce1b 100755
--- a/t/t9809-git-p4-client-view.sh
+++ b/t/t9809-git-p4-client-view.sh
@@ -836,8 +836,4 @@ test_expect_success 'quotes on both sides' '
 	git_verify "cdir 1/file11" "cdir 1/file12"
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9810-git-p4-rcs.sh b/t/t9810-git-p4-rcs.sh
index cc53debe19..57b533dc6f 100755
--- a/t/t9810-git-p4-rcs.sh
+++ b/t/t9810-git-p4-rcs.sh
@@ -360,8 +360,4 @@ test_expect_failure 'Add keywords in git which do not match the default p4 value
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9811-git-p4-label-import.sh b/t/t9811-git-p4-label-import.sh
index 602b0a5d5c..b70e81c3cd 100755
--- a/t/t9811-git-p4-label-import.sh
+++ b/t/t9811-git-p4-label-import.sh
@@ -259,9 +259,4 @@ test_expect_success 'importing labels with missing revisions' '
 	)
 '
 
-
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9812-git-p4-wildcards.sh b/t/t9812-git-p4-wildcards.sh
index 0206771fbb..254a7c2446 100755
--- a/t/t9812-git-p4-wildcards.sh
+++ b/t/t9812-git-p4-wildcards.sh
@@ -211,8 +211,4 @@ test_expect_success 'wildcard files requiring keyword scrub' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9813-git-p4-preserve-users.sh b/t/t9813-git-p4-preserve-users.sh
index 783c6ad165..fd018c87a8 100755
--- a/t/t9813-git-p4-preserve-users.sh
+++ b/t/t9813-git-p4-preserve-users.sh
@@ -138,8 +138,4 @@ test_expect_success 'not preserving user with mixed authorship' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9814-git-p4-rename.sh b/t/t9814-git-p4-rename.sh
index 60baa06e27..468767cbf4 100755
--- a/t/t9814-git-p4-rename.sh
+++ b/t/t9814-git-p4-rename.sh
@@ -242,8 +242,4 @@ test_expect_success P4D_HAVE_CONFIGURABLE_RUN_MOVE_ALLOW \
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9815-git-p4-submit-fail.sh b/t/t9815-git-p4-submit-fail.sh
index eaf03a6563..9779dc0d11 100755
--- a/t/t9815-git-p4-submit-fail.sh
+++ b/t/t9815-git-p4-submit-fail.sh
@@ -422,8 +422,4 @@ test_expect_success 'cleanup chmod after submit cancel' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9816-git-p4-locked.sh b/t/t9816-git-p4-locked.sh
index d048bd33fa..932841003c 100755
--- a/t/t9816-git-p4-locked.sh
+++ b/t/t9816-git-p4-locked.sh
@@ -138,8 +138,4 @@ test_expect_failure 'move with lock taken' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9817-git-p4-exclude.sh b/t/t9817-git-p4-exclude.sh
index aac568eadf..96d25f0c02 100755
--- a/t/t9817-git-p4-exclude.sh
+++ b/t/t9817-git-p4-exclude.sh
@@ -64,8 +64,4 @@ test_expect_success 'clone, then sync with exclude' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9818-git-p4-block.sh b/t/t9818-git-p4-block.sh
index ce7cb22ad3..0db7ab9918 100755
--- a/t/t9818-git-p4-block.sh
+++ b/t/t9818-git-p4-block.sh
@@ -146,8 +146,4 @@ test_expect_success 'Clone repo with self-sizing block size' '
 	test_line_count \> 10 log
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9819-git-p4-case-folding.sh b/t/t9819-git-p4-case-folding.sh
index d808c008c1..600ce1e0b0 100755
--- a/t/t9819-git-p4-case-folding.sh
+++ b/t/t9819-git-p4-case-folding.sh
@@ -53,8 +53,4 @@ test_expect_failure 'Clone UC repo with lc name' '
 	test_must_fail git p4 clone //depot/uc/...
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9820-git-p4-editor-handling.sh b/t/t9820-git-p4-editor-handling.sh
index 3c22f74bd4..fa1bba1dd9 100755
--- a/t/t9820-git-p4-editor-handling.sh
+++ b/t/t9820-git-p4-editor-handling.sh
@@ -31,8 +31,4 @@ test_expect_success 'EDITOR with options' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9821-git-p4-path-variations.sh b/t/t9821-git-p4-path-variations.sh
index 81e46acfa8..ef80f1690b 100755
--- a/t/t9821-git-p4-path-variations.sh
+++ b/t/t9821-git-p4-path-variations.sh
@@ -193,8 +193,4 @@ test_expect_success 'Add a new file and clone path with new file (ignorecase)' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9822-git-p4-path-encoding.sh b/t/t9822-git-p4-path-encoding.sh
index c78477c19b..1bf7635016 100755
--- a/t/t9822-git-p4-path-encoding.sh
+++ b/t/t9822-git-p4-path-encoding.sh
@@ -67,8 +67,4 @@ test_expect_success 'Delete iso8859-1 encoded paths and clone' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9823-git-p4-mock-lfs.sh b/t/t9823-git-p4-mock-lfs.sh
index 1f2dc369bf..88b76dc4d6 100755
--- a/t/t9823-git-p4-mock-lfs.sh
+++ b/t/t9823-git-p4-mock-lfs.sh
@@ -185,8 +185,4 @@ test_expect_success 'Run git p4 submit in repo configured with large file system
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9824-git-p4-git-lfs.sh b/t/t9824-git-p4-git-lfs.sh
index ed80ca858c..a28dbbdd56 100755
--- a/t/t9824-git-p4-git-lfs.sh
+++ b/t/t9824-git-p4-git-lfs.sh
@@ -287,8 +287,4 @@ test_expect_success 'Add big files to repo and store files in LFS based on compr
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9825-git-p4-handle-utf16-without-bom.sh b/t/t9825-git-p4-handle-utf16-without-bom.sh
index 1551845dc1..f049ff8229 100755
--- a/t/t9825-git-p4-handle-utf16-without-bom.sh
+++ b/t/t9825-git-p4-handle-utf16-without-bom.sh
@@ -43,8 +43,4 @@ test_expect_failure 'clone depot with invalid UTF-16 file in non-verbose mode' '
 	git p4 clone --dest="$git" //depot
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9826-git-p4-keep-empty-commits.sh b/t/t9826-git-p4-keep-empty-commits.sh
index fa8b9daf1f..fd64afe064 100755
--- a/t/t9826-git-p4-keep-empty-commits.sh
+++ b/t/t9826-git-p4-keep-empty-commits.sh
@@ -127,8 +127,4 @@ test_expect_success 'Clone repo subdir with all history' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9827-git-p4-change-filetype.sh b/t/t9827-git-p4-change-filetype.sh
index 7433998f47..d3670bd7a2 100755
--- a/t/t9827-git-p4-change-filetype.sh
+++ b/t/t9827-git-p4-change-filetype.sh
@@ -59,8 +59,4 @@ test_expect_success SYMLINKS 'change symbolic link to file' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9828-git-p4-map-user.sh b/t/t9828-git-p4-map-user.sh
index e20395c89f..ca6c2942bd 100755
--- a/t/t9828-git-p4-map-user.sh
+++ b/t/t9828-git-p4-map-user.sh
@@ -54,8 +54,4 @@ test_expect_success 'Clone repo root path with all history' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9829-git-p4-jobs.sh b/t/t9829-git-p4-jobs.sh
index 971aeeea1f..88cfb1fcd3 100755
--- a/t/t9829-git-p4-jobs.sh
+++ b/t/t9829-git-p4-jobs.sh
@@ -92,8 +92,4 @@ test_expect_success 'check log message of changelist with more jobs' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9830-git-p4-symlink-dir.sh b/t/t9830-git-p4-symlink-dir.sh
index 2ad1b0810d..3fb6960c18 100755
--- a/t/t9830-git-p4-symlink-dir.sh
+++ b/t/t9830-git-p4-symlink-dir.sh
@@ -36,8 +36,4 @@ test_expect_success 'symlinked directory' '
 
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9831-git-p4-triggers.sh b/t/t9831-git-p4-triggers.sh
index be44c9751a..d743ca33ee 100755
--- a/t/t9831-git-p4-triggers.sh
+++ b/t/t9831-git-p4-triggers.sh
@@ -96,8 +96,4 @@ test_expect_success 'submit description with extra info lines from verbose p4 ch
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9832-unshelve.sh b/t/t9832-unshelve.sh
index 48ec7679b8..b649d1b7c3 100755
--- a/t/t9832-unshelve.sh
+++ b/t/t9832-unshelve.sh
@@ -131,8 +131,4 @@ test_expect_success 'try to unshelve the change' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
 test_done
diff --git a/t/t9833-errors.sh b/t/t9833-errors.sh
index 277d347012..1f3d879122 100755
--- a/t/t9833-errors.sh
+++ b/t/t9833-errors.sh
@@ -72,9 +72,4 @@ test_expect_success 'git operation with expired ticket' '
 	)
 '
 
-test_expect_success 'kill p4d' '
-	kill_p4d
-'
-
-
 test_done
-- 
gitgitgadget
Previous: Johannes Schindelin via GitGitGadgetNext: Luke Diamand
Message 50 of 225 in “Offer to run CI/PR builds in Visual Studio Team Services”
  1. 0/9 Offer to run CI/PR builds in Visual Studio Team ServicesJohannes Schindelin via GitGitGadget, Sep 3, 2018
  2. 1/9 ci: rename the library of common functionsJohannes Schindelin via GitGitGadget, Sep 3, 2018
  3. 3/9 test-date: add a subcommand to measure times in shell scriptsJohannes Schindelin via GitGitGadget, Sep 3, 2018
  4. 2/9 ci/lib.sh: encapsulate Travis-specific thingsJohannes Schindelin via GitGitGadget, Sep 3, 2018
  5. Eric SunshineSep 3, 2018
  6. Johannes SchindelinSep 4, 2018
  7. Sebastian SchuberthSep 5, 2018
  8. Johannes SchindelinSep 14, 2018
  9. 4/9 tests: optionally write results as JUnit-style .xmlJohannes Schindelin via GitGitGadget, Sep 3, 2018
  10. Eric SunshineSep 4, 2018
  11. Johannes SchindelinSep 4, 2018
  12. 5/9 ci/lib.sh: add support for VSTS CIJohannes Schindelin via GitGitGadget, Sep 3, 2018
  13. 6/9 Add a build definition for VSTSJohannes Schindelin via GitGitGadget, Sep 3, 2018
  14. 7/9 tests: include detailed trace logs with --write-junit-xml upon failureJohannes Schindelin via GitGitGadget, Sep 3, 2018
  15. Eric SunshineSep 4, 2018
  16. Johannes SchindelinSep 4, 2018
  17. Luke DiamandSep 5, 2018
  18. Johannes SchindelinSep 5, 2018
  19. Luke DiamandSep 5, 2018
  20. Johannes SchindelinSep 14, 2018
  21. Eric SunshineSep 5, 2018
  22. Jeff KingSep 5, 2018
  23. Johannes SchindelinSep 14, 2018
  24. Johannes SchindelinSep 14, 2018
  25. 9/9 README: add a build badge (status of the VSTS build)Johannes Schindelin via GitGitGadget, Sep 3, 2018
  26. 8/9 tests: record more stderr with --write-junit-xml in case of failureJohannes Schindelin via GitGitGadget, Sep 3, 2018
  27. Sebastian SchuberthSep 5, 2018
  28. Stefan BellerSep 5, 2018
  29. 00/13 Offer to run CI/PR builds in Azure PipelinesJohannes Schindelin via GitGitGadget, Oct 15, 2018
  30. 01/13 ci: rename the library of common functionsJohannes Schindelin via GitGitGadget, Oct 15, 2018
  31. Junio C HamanoOct 16, 2018
  32. 02/13 ci/lib.sh: encapsulate Travis-specific thingsJohannes Schindelin via GitGitGadget, Oct 15, 2018
  33. SZEDER GáborOct 18, 2018
  34. Junio C HamanoOct 19, 2018
  35. SZEDER GáborOct 19, 2018
  36. Junio C HamanoOct 19, 2018
  37. 03/13 test-date: add a subcommand to measure times in shell scriptsJohannes Schindelin via GitGitGadget, Oct 15, 2018
  38. 04/13 tests: optionally write results as JUnit-style .xmlJohannes Schindelin via GitGitGadget, Oct 15, 2018
  39. 05/13 ci/lib.sh: add support for Azure PipelinesJohannes Schindelin via GitGitGadget, Oct 15, 2018
  40. SZEDER GáborOct 16, 2018
  41. Johannes SchindelinOct 16, 2018
  42. 06/13 Add a build definition for Azure DevOpsJohannes Schindelin via GitGitGadget, Oct 15, 2018
  43. Junio C HamanoOct 16, 2018
  44. Johannes SchindelinOct 16, 2018
  45. SZEDER GáborOct 16, 2018
  46. Johannes SchindelinOct 17, 2018
  47. 07/13 tests: introduce `test_atexit`Johannes Schindelin via GitGitGadget, Oct 15, 2018
  48. SZEDER GáborOct 21, 2018
  49. 08/13 git-daemon: use `test_atexit` in the testsJohannes Schindelin via GitGitGadget, Oct 15, 2018
  50. 09/13 git-p4: use `test_atexit` to kill the daemonJohannes Schindelin via GitGitGadget, Oct 15, 2018
  51. Luke DiamandOct 15, 2018
  52. Johannes SchindelinOct 15, 2018
  53. Luke DiamandOct 15, 2018
  54. Johannes SchindelinOct 16, 2018
  55. Eric SunshineOct 16, 2018
  56. Johannes SchindelinOct 16, 2018
  57. SZEDER GáborOct 17, 2018
  58. 10/13 tests: include detailed trace logs with --write-junit-xml upon failureJohannes Schindelin via GitGitGadget, Oct 15, 2018
  59. SZEDER GáborOct 16, 2018
  60. Johannes SchindelinOct 16, 2018
  61. SZEDER GáborOct 16, 2018
  62. Johannes SchindelinOct 16, 2018
  63. 11/13 tests: record more stderr with --write-junit-xml in case of failureJohannes Schindelin via GitGitGadget, Oct 15, 2018
  64. 12/13 README: add a build badge (status of the Azure Pipelines build)Johannes Schindelin via GitGitGadget, Oct 15, 2018
  65. Eric SunshineOct 16, 2018
  66. Johannes SchindelinOct 16, 2018
  67. 13/13 travis: fix skipping tagged releasesJohannes Schindelin via GitGitGadget, Oct 15, 2018
  68. SZEDER GáborOct 16, 2018
  69. Johannes SchindelinOct 16, 2018
  70. Taylor BlauOct 15, 2018
  71. Johannes SchindelinOct 15, 2018
  72. Taylor BlauOct 16, 2018
  73. Ævar Arnfjörð BjarmasonOct 16, 2018
  74. SZEDER GáborOct 16, 2018
  75. Junio C HamanoOct 25, 2018
  76. Johannes SchindelinOct 26, 2018
  77. Johannes SchindelinJan 16, 2019
  78. Junio C HamanoJan 17, 2019
  79. Johannes SchindelinJan 18, 2019
  80. 00/21 Offer to run CI/PR builds in Azure PipelinesJohannes Schindelin via GitGitGadget, Jan 16, 2019
  81. 01/21 travis: fix skipping tagged releasesJohannes Schindelin via GitGitGadget, Jan 16, 2019
  82. Junio C HamanoJan 17, 2019
  83. Johannes SchindelinJan 18, 2019
  84. 02/21 ci: rename the library of common functionsJohannes Schindelin via GitGitGadget, Jan 16, 2019
  85. 03/21 ci/lib.sh: encapsulate Travis-specific thingsJohannes Schindelin via GitGitGadget, Jan 16, 2019
  86. 04/21 ci: inherit --jobs via MAKEFLAGS in run-build-and-testsJohannes Schindelin via GitGitGadget, Jan 16, 2019
  87. 06/21 test-date: add a subcommand to measure times in shell scriptsJohannes Schindelin via GitGitGadget, Jan 16, 2019
  88. 10/21 ci: move the Windows job to the topJohannes Schindelin via GitGitGadget, Jan 16, 2019
  89. 09/21 Add a build definition for Azure DevOpsJohannes Schindelin via GitGitGadget, Jan 16, 2019
  90. 11/21 ci: use git-sdk-64-minimal build artifactJohannes Schindelin via GitGitGadget, Jan 16, 2019
  91. 13/21 README: add a build badge (status of the Azure Pipelines build)Johannes Schindelin via GitGitGadget, Jan 16, 2019
  92. 12/21 mingw: be more generous when wrapping up the setitimer() emulationJohannes Schindelin via GitGitGadget, Jan 16, 2019
  93. 19/21 tests: optionally skip bin-wrappers/Johannes Schindelin via GitGitGadget, Jan 16, 2019
  94. 17/21 tests: add t/helper/ to the PATH with --with-dashesJohannes Schindelin via GitGitGadget, Jan 16, 2019
  95. 20/21 ci: speed up Windows phaseJohannes Schindelin via GitGitGadget, Jan 16, 2019
  96. 21/21 ci: parallelize testing on WindowsJohannes Schindelin via GitGitGadget, Jan 16, 2019
  97. 18/21 t0061: fix with --with-dashes and RUNTIME_PREFIXJohannes Schindelin via GitGitGadget, Jan 16, 2019
  98. 07/21 tests: optionally write results as JUnit-style .xmlJohannes Schindelin via GitGitGadget, Jan 16, 2019
  99. 14/21 tests: avoid calling Perl just to determine file sizesJohannes Schindelin via GitGitGadget, Jan 16, 2019
  100. 15/21 tests: include detailed trace logs with --write-junit-xml upon failureJohannes Schindelin via GitGitGadget, Jan 16, 2019
  101. Johannes SchindelinJan 17, 2019
  102. 16/21 mingw: try to work around issues with the test cleanupJohannes Schindelin via GitGitGadget, Jan 16, 2019
  103. 08/21 ci/lib.sh: add support for Azure PipelinesJohannes Schindelin via GitGitGadget, Jan 16, 2019
  104. 05/21 ci: use a junction on Windows instead of a symlinkJohannes Schindelin via GitGitGadget, Jan 16, 2019
  105. 00/21 Offer to run CI/PR builds in Azure PipelinesJohannes Schindelin via GitGitGadget, Jan 23, 2019
  106. 02/21 ci: rename the library of common functionsJohannes Schindelin via GitGitGadget, Jan 23, 2019
  107. Junio C HamanoJan 23, 2019
  108. 03/21 ci/lib.sh: encapsulate Travis-specific thingsJohannes Schindelin via GitGitGadget, Jan 23, 2019
  109. Junio C HamanoJan 23, 2019
  110. Johannes SchindelinJan 26, 2019
  111. Junio C HamanoJan 27, 2019
  112. Johannes SchindelinJan 28, 2019
  113. Junio C HamanoJan 28, 2019
  114. Johannes SchindelinJan 29, 2019
  115. SZEDER GáborJan 25, 2019
  116. Johannes SchindelinJan 27, 2019
  117. 05/21 ci: use a junction on Windows instead of a symlinkJohannes Schindelin via GitGitGadget, Jan 23, 2019
  118. 04/21 ci: inherit --jobs via MAKEFLAGS in run-build-and-testsJohannes Schindelin via GitGitGadget, Jan 23, 2019
  119. Junio C HamanoJan 23, 2019
  120. SZEDER GáborJan 25, 2019
  121. Johannes SchindelinJan 28, 2019
  122. Johannes SchindelinJan 26, 2019
  123. 06/21 test-date: add a subcommand to measure times in shell scriptsJohannes Schindelin via GitGitGadget, Jan 23, 2019
  124. Junio C HamanoJan 23, 2019
  125. Johannes SchindelinJan 27, 2019
  126. Junio C HamanoJan 27, 2019
  127. Junio C HamanoJan 28, 2019
  128. 09/21 Add a build definition for Azure DevOpsJohannes Schindelin via GitGitGadget, Jan 23, 2019
  129. Junio C HamanoJan 23, 2019
  130. Johannes SchindelinJan 27, 2019
  131. 11/21 ci: use git-sdk-64-minimal build artifactJohannes Schindelin via GitGitGadget, Jan 23, 2019
  132. 14/21 tests: avoid calling Perl just to determine file sizesJohannes Schindelin via GitGitGadget, Jan 23, 2019
  133. 15/21 tests: include detailed trace logs with --write-junit-xml upon failureJohannes Schindelin via GitGitGadget, Jan 23, 2019
  134. 19/21 tests: optionally skip bin-wrappers/Johannes Schindelin via GitGitGadget, Jan 23, 2019
  135. 18/21 t0061: fix with --with-dashes and RUNTIME_PREFIXJohannes Schindelin via GitGitGadget, Jan 23, 2019
  136. Junio C HamanoJan 28, 2019
  137. Johannes SchindelinJan 28, 2019
  138. Junio C HamanoJan 28, 2019
  139. Johannes SchindelinJan 29, 2019
  140. 16/21 mingw: try to work around issues with the test cleanupJohannes Schindelin via GitGitGadget, Jan 23, 2019
  141. 17/21 tests: add t/helper/ to the PATH with --with-dashesJohannes Schindelin via GitGitGadget, Jan 23, 2019
  142. Junio C HamanoJan 23, 2019
  143. Johannes SchindelinJan 27, 2019
  144. 20/21 ci: speed up Windows phaseJohannes Schindelin via GitGitGadget, Jan 23, 2019
  145. Junio C HamanoJan 23, 2019
  146. 21/21 ci: parallelize testing on WindowsJohannes Schindelin via GitGitGadget, Jan 23, 2019
  147. 12/21 mingw: be more generous when wrapping up the setitimer() emulationJohannes Schindelin via GitGitGadget, Jan 23, 2019
  148. 07/21 tests: optionally write results as JUnit-style .xmlJohannes Schindelin via GitGitGadget, Jan 23, 2019
  149. 13/21 README: add a build badge (status of the Azure Pipelines build)Johannes Schindelin via GitGitGadget, Jan 23, 2019
  150. 10/21 ci: move the Windows job to the topJohannes Schindelin via GitGitGadget, Jan 23, 2019
  151. Junio C HamanoJan 23, 2019
  152. Johannes SchindelinJan 27, 2019
  153. Junio C HamanoJan 23, 2019
  154. Johannes SchindelinJan 27, 2019
  155. 08/21 ci/lib.sh: add support for Azure PipelinesJohannes Schindelin via GitGitGadget, Jan 23, 2019
  156. Junio C HamanoJan 23, 2019
  157. Johannes SchindelinJan 27, 2019
  158. 01/21 travis: fix skipping tagged releasesJohannes Schindelin via GitGitGadget, Jan 23, 2019
  159. Junio C HamanoJan 23, 2019
  160. Fast CI for all branches in gitster/git, was Re: [PATCH v4 00/21] Offer to run CI/PR builds in Azure PipelinesJohannes Schindelin, Jan 23, 2019
  161. Junio C HamanoJan 23, 2019
  162. 00/21 Offer to run CI/PR builds in Azure PipelinesJohannes Schindelin via GitGitGadget, Jan 27, 2019
  163. 01/21 travis: fix skipping tagged releasesJohannes Schindelin via GitGitGadget, Jan 27, 2019
  164. 02/21 ci: rename the library of common functionsJohannes Schindelin via GitGitGadget, Jan 27, 2019
  165. 03/21 ci/lib.sh: encapsulate Travis-specific thingsJohannes Schindelin via GitGitGadget, Jan 27, 2019
  166. 07/21 tests: optionally write results as JUnit-style .xmlJohannes Schindelin via GitGitGadget, Jan 27, 2019
  167. 04/21 ci: inherit --jobs via MAKEFLAGS in run-build-and-testsJohannes Schindelin via GitGitGadget, Jan 27, 2019
  168. 08/21 ci/lib.sh: add support for Azure PipelinesJohannes Schindelin via GitGitGadget, Jan 27, 2019
  169. 06/21 test-date: add a subcommand to measure times in shell scriptsJohannes Schindelin via GitGitGadget, Jan 27, 2019
  170. 05/21 ci: use a junction on Windows instead of a symlinkJohannes Schindelin via GitGitGadget, Jan 27, 2019
  171. 18/21 t0061: fix with --with-dashes and RUNTIME_PREFIXJohannes Schindelin via GitGitGadget, Jan 27, 2019
  172. 19/21 tests: optionally skip bin-wrappers/Johannes Schindelin via GitGitGadget, Jan 27, 2019
  173. 16/21 mingw: try to work around issues with the test cleanupJohannes Schindelin via GitGitGadget, Jan 27, 2019
  174. 15/21 tests: include detailed trace logs with --write-junit-xml upon failureJohannes Schindelin via GitGitGadget, Jan 27, 2019
  175. 14/21 tests: avoid calling Perl just to determine file sizesJohannes Schindelin via GitGitGadget, Jan 27, 2019
  176. 13/21 README: add a build badge (status of the Azure Pipelines build)Johannes Schindelin via GitGitGadget, Jan 27, 2019
  177. 12/21 mingw: be more generous when wrapping up the setitimer() emulationJohannes Schindelin via GitGitGadget, Jan 27, 2019
  178. 11/21 ci: use git-sdk-64-minimal build artifactJohannes Schindelin via GitGitGadget, Jan 27, 2019
  179. 09/21 Add a build definition for Azure DevOpsJohannes Schindelin via GitGitGadget, Jan 27, 2019
  180. 21/21 ci: parallelize testing on WindowsJohannes Schindelin via GitGitGadget, Jan 27, 2019
  181. 17/21 tests: add t/helper/ to the PATH with --with-dashesJohannes Schindelin via GitGitGadget, Jan 27, 2019
  182. 20/21 ci: speed up Windows phaseJohannes Schindelin via GitGitGadget, Jan 27, 2019
  183. 10/21 ci: add a Windows job to the Azure Pipelines definitionJohannes Schindelin via GitGitGadget, Jan 27, 2019
  184. 00/21 Offer to run CI/PR builds in Azure PipelinesJohannes Schindelin via GitGitGadget, Jan 29, 2019
  185. 02/21 ci: rename the library of common functionsJohannes Schindelin via GitGitGadget, Jan 29, 2019
  186. 01/21 travis: fix skipping tagged releasesJohannes Schindelin via GitGitGadget, Jan 29, 2019
  187. 04/21 ci: inherit --jobs via MAKEFLAGS in run-build-and-testsJohannes Schindelin via GitGitGadget, Jan 29, 2019
  188. 03/21 ci/lib.sh: encapsulate Travis-specific thingsJohannes Schindelin via GitGitGadget, Jan 29, 2019
  189. 06/21 test-date: add a subcommand to measure times in shell scriptsJohannes Schindelin via GitGitGadget, Jan 29, 2019
  190. 09/21 Add a build definition for Azure DevOpsJohannes Schindelin via GitGitGadget, Jan 29, 2019
  191. 12/21 mingw: be more generous when wrapping up the setitimer() emulationJohannes Schindelin via GitGitGadget, Jan 29, 2019
  192. 14/21 tests: avoid calling Perl just to determine file sizesJohannes Schindelin via GitGitGadget, Jan 29, 2019
  193. 15/21 tests: include detailed trace logs with --write-junit-xml upon failureJohannes Schindelin via GitGitGadget, Jan 29, 2019
  194. 16/21 mingw: try to work around issues with the test cleanupJohannes Schindelin via GitGitGadget, Jan 29, 2019
  195. Ævar Arnfjörð BjarmasonMar 10, 2021
  196. Johannes SchindelinMar 19, 2021
  197. Ævar Arnfjörð BjarmasonMar 20, 2021
  198. Junio C HamanoMar 20, 2021
  199. Johannes SchindelinMar 24, 2021
  200. SZEDER GáborMar 24, 2021
  201. Ævar Arnfjörð BjarmasonMar 24, 2021
  202. SZEDER GáborMar 26, 2021
  203. 20/21 ci: speed up Windows phaseJohannes Schindelin via GitGitGadget, Jan 29, 2019
  204. 17/21 tests: add t/helper/ to the PATH with --with-dashesJohannes Schindelin via GitGitGadget, Jan 29, 2019
  205. 19/21 tests: optionally skip bin-wrappers/Johannes Schindelin via GitGitGadget, Jan 29, 2019
  206. 21/21 ci: parallelize testing on WindowsJohannes Schindelin via GitGitGadget, Jan 29, 2019
  207. 18/21 t0061: workaround issues with --with-dashes and RUNTIME_PREFIXJohannes Schindelin via GitGitGadget, Jan 29, 2019
  208. 13/21 README: add a build badge (status of the Azure Pipelines build)Johannes Schindelin via GitGitGadget, Jan 29, 2019
  209. 11/21 ci: use git-sdk-64-minimal build artifactJohannes Schindelin via GitGitGadget, Jan 29, 2019
  210. 08/21 ci/lib.sh: add support for Azure PipelinesJohannes Schindelin via GitGitGadget, Jan 29, 2019
  211. 07/21 tests: optionally write results as JUnit-style .xmlJohannes Schindelin via GitGitGadget, Jan 29, 2019
  212. 10/21 ci: add a Windows job to the Azure Pipelines definitionJohannes Schindelin via GitGitGadget, Jan 29, 2019
  213. 05/21 ci: use a junction on Windows instead of a symlinkJohannes Schindelin via GitGitGadget, Jan 29, 2019
  214. Ævar Arnfjörð BjarmasonOct 15, 2018
  215. Duy NguyenOct 15, 2018
  216. Christian CouderOct 15, 2018
  217. Johannes SchindelinOct 15, 2018
  218. Christian CouderOct 16, 2018
  219. Junio C HamanoOct 16, 2018
  220. Ævar Arnfjörð BjarmasonOct 16, 2018
  221. Junio C HamanoOct 18, 2018
  222. Mirror of git.git on gitlab.comÆvar Arnfjörð Bjarmason, Oct 19, 2018
  223. Junio C HamanoOct 22, 2018
  224. Jeff KingOct 25, 2018
  225. Junio C HamanoOct 16, 2018

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.