merge revision(s) 3113bc8d445c4c24ed3827adfc50bb88c99b6364:
stat command is not provided on Windows
This commit is contained in:
parent
cb49400d68
commit
8a1d738b80
@ -27,6 +27,9 @@ describe "File.atime" do
|
|||||||
else
|
else
|
||||||
File.atime(__FILE__).usec.should == 0
|
File.atime(__FILE__).usec.should == 0
|
||||||
end
|
end
|
||||||
|
rescue Errno::ENOENT => e
|
||||||
|
# Native Windows don't have stat command.
|
||||||
|
skip e.message
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -22,6 +22,9 @@ describe "File.ctime" do
|
|||||||
else
|
else
|
||||||
File.ctime(__FILE__).usec.should == 0
|
File.ctime(__FILE__).usec.should == 0
|
||||||
end
|
end
|
||||||
|
rescue Errno::ENOENT => e
|
||||||
|
# Windows don't have stat command.
|
||||||
|
skip e.message
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -26,6 +26,9 @@ describe "File.mtime" do
|
|||||||
else
|
else
|
||||||
File.mtime(__FILE__).usec.should == 0
|
File.mtime(__FILE__).usec.should == 0
|
||||||
end
|
end
|
||||||
|
rescue Errno::ENOENT => e
|
||||||
|
# Windows don't have stat command.
|
||||||
|
skip e.message
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||||
#define RUBY_VERSION_TEENY 8
|
#define RUBY_VERSION_TEENY 8
|
||||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
#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/version.h"
|
||||||
#include "ruby/internal/abi.h"
|
#include "ruby/internal/abi.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user