merge revision(s) 3113bc8d445c4c24ed3827adfc50bb88c99b6364:

stat command is not provided on Windows
This commit is contained in:
nagachika 2025-05-18 10:24:11 +09:00
parent cb49400d68
commit 8a1d738b80
4 changed files with 10 additions and 1 deletions

View File

@ -27,6 +27,9 @@ describe "File.atime" do
else
File.atime(__FILE__).usec.should == 0
end
rescue Errno::ENOENT => e
# Native Windows don't have stat command.
skip e.message
end
end
end

View File

@ -22,6 +22,9 @@ describe "File.ctime" do
else
File.ctime(__FILE__).usec.should == 0
end
rescue Errno::ENOENT => e
# Windows don't have stat command.
skip e.message
end
end

View File

@ -26,6 +26,9 @@ describe "File.mtime" do
else
File.mtime(__FILE__).usec.should == 0
end
rescue Errno::ENOENT => e
# Windows don't have stat command.
skip e.message
end
end
end

View File

@ -11,7 +11,7 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 8
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
#define RUBY_PATCHLEVEL 149
#define RUBY_PATCHLEVEL 150
#include "ruby/version.h"
#include "ruby/internal/abi.h"