summaryrefslogtreecommitdiff
path: root/spec/ruby/core/file/ctime_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/file/ctime_spec.rb')
-rw-r--r--spec/ruby/core/file/ctime_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/ruby/core/file/ctime_spec.rb b/spec/ruby/core/file/ctime_spec.rb
index d17ba1a77f..718f26d5cc 100644
--- a/spec/ruby/core/file/ctime_spec.rb
+++ b/spec/ruby/core/file/ctime_spec.rb
@@ -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