]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/test-set-e-clean' into next next
authorJunio C Hamano <gitster@pobox.com>
Thu, 23 Apr 2026 02:08:25 +0000 (11:08 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Apr 2026 02:08:26 +0000 (11:08 +0900)
commit4f69b47b940100b02630f745a52f9d9850f122b2
treeea1fc223d7108fa343c9cb8bc096180b139f025c
parentfb9310bfae3dc478c5091090da58dd906ec3a1b1
parentffe8005b9d8e0cf1b5d5d796ca4da76fbe219011
Merge branch 'ps/test-set-e-clean' into next

The test suite harness and many individual test scripts have been
updated to work correctly when 'set -e' is in effect, which helps
detect misspelled test commands.

* ps/test-set-e-clean:
  t: detect errors outside of test cases
  t9902: fix use of `read` with `set -e`
  t6002: fix use of `expr` with `set -e`
  t1301: don't fail in case setfacl(1) doesn't exist or fails
  t0008: silence error in subshell when using `grep -v`
  t: prepare `test_when_finished ()`/`test_atexit()` for `set -e`
  t: prepare execution of potentially failing commands for `set -e`
  t: prepare conditional test execution for `set -e`
  t: prepare `git config --unset` calls for `set -e`
  t: prepare `stop_git_daemon ()` for `set -e`
  t: prepare `test_must_fail ()` for `set -e`
  t: prepare `test_match_signal ()` calls for `set -e`
ci/run-build-and-tests.sh