summaryrefslogtreecommitdiff
path: root/tool/test/test_commit_email.rb
AgeCommit message (Collapse)Author
2025-12-17test_commit_email.rb: Ensure #teardown doesn't failTakashi Kokubun
if test is omitted. Follow up c4e090def134f9b109991b74c027648564963763
2025-11-17Skip TestCommitEmail if git is not available.Hiroshi SHIBATA
https://github.com/ruby/actions/actions/runs/19420968008/job/55558315338 ``` 1) Error: TestCommitEmail#test_sendmail_encoding: Test::Unit::ProxyError: No such file or directory - git /home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:534:in 'Kernel#spawn' /home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:534:in 'Open3.popen_run' /home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:379:in 'Open3.popen2' /home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:785:in 'Open3.capture2' /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:89:in 'TestCommitEmail#git' /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:13:in 'block in TestCommitEmail#setup' /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:12:in 'Dir.chdir' /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:12:in 'TestCommitEmail#setup' 2) Error: TestCommitEmail#test_sendmail_encoding: Test::Unit::ProxyError: no implicit conversion of nil into String /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:37:in 'File.unlink' /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:37:in 'TestCommitEmail#teardown' ```
2025-11-13Use path in tmpdir instead of IO::NULLKazuhiro NISHIYAMA
The path already used in tool/test/test_sync_default_gems.rb . Try to fix errors on Windows. https://github.com/ruby/ruby/actions/runs/19316448613/job/55248700110
2025-11-13Ignore ~/.gitconfigKazuhiro NISHIYAMA
I use `commit.gpgsign=true`, so I want to ignore it in tests.
2025-10-29test_commit_email.rb: Clean up temporary filesNobuyoshi Nakada
2025-10-11test_commit_email.rb: Simply use shNobuyoshi Nakada
`env` on macOS resets DYLD environment variables that are needed to run ruby configured with `--enable-load-relative`. Use simple commands instead, and `/bin/sh` that is specified in POSIX is more portable than `/usr/bin/env`.
2025-10-08test_commit_email.rb: Split out as binary for --with-gmpTakashi Kokubun
https://github.com/ruby/ruby/actions/runs/18365998053/job/52318906076
2025-10-08test_commit_email.rb: Stop testing the un-encoded nameTakashi Kokubun
Hoping to work around failures on --with-gmp CI: https://github.com/ruby/ruby/actions/runs/18365603616/job/52317792903
2025-10-08test_commit_email.rb: Test the encoding of commit messagesTakashi Kokubun
2025-10-08test_commit_email.rb: Skip the sendmail test on WindowsTakashi Kokubun
We use only ubuntu-latest on post_push.yml anyway.
2025-10-08test_commit_email.rb: Fix the timezone for commit-email.rbTakashi Kokubun
as well
2025-10-08test_commit_email.rb: Use a fixed timezoneTakashi Kokubun
2025-10-08commit-email.rb: Remove legacy SVN headersTakashi Kokubun
2025-10-08test_commit_email.rb: Remove an unused local variableTakashi Kokubun
2025-10-08test_commit_email.rb: Test the content of an emailTakashi Kokubun
2025-10-08Allow test-tool to use bundled gems in child processes (#14794)Takashi Kokubun
2025-10-08Revert "commit-email.rb: Use base64 instead of nkf"Takashi Kokubun
This reverts commit dbb5972b340f24d9ff4f3996f57439d5a6b3454e. It didn't work, sorry.
2025-10-08commit-email.rb: Use base64 instead of nkfTakashi Kokubun
which makes it more obvious what it's doing.
2025-10-08test_commit_email.rb: Stop printing LoadErrorTakashi Kokubun
on a require attempt