summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2025-10-08 21:32:26 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2025-10-08 21:32:56 -0700
commitcd8a4406c1ad6c1fed82acad6899b02478246100 (patch)
tree707179e705381113ab2cc17d407bd8c2194b0887
parenta21cde942c94640f2cc46c2a50d71ec758d70d31 (diff)
test_commit_email.rb: Skip the sendmail test on Windows
We use only ubuntu-latest on post_push.yml anyway.
-rw-r--r--tool/test/test_commit_email.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/test/test_commit_email.rb b/tool/test/test_commit_email.rb
index 3d53d957b7..58f0537f43 100644
--- a/tool/test/test_commit_email.rb
+++ b/tool/test/test_commit_email.rb
@@ -29,6 +29,8 @@ class TestCommitEmail < Test::Unit::TestCase
end
def test_sendmail_encoding
+ omit 'the sendmail script does not work on windows' if windows?
+
Dir.chdir(@ruby) do
before_rev = git('rev-parse', 'HEAD^').chomp
long_rev = git('rev-parse', 'HEAD').chomp