test/ruby/test_io.rb: fix spelling errors
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f12ec3fcbd
commit
653f291b66
@ -1,3 +1,7 @@
|
||||
Wed Dec 16 16:17:34 2015 Eric Wong <e@80x24.org>
|
||||
|
||||
* test/ruby/test_io.rb: fix spelling errors
|
||||
|
||||
Wed Dec 16 16:04:49 2015 Eric Wong <e@80x24.org>
|
||||
|
||||
* NEWS: note IO#fadvise change [ruby-core:72168]
|
||||
|
@ -2531,7 +2531,7 @@ End
|
||||
|
||||
fs = nil
|
||||
if uname[:sysname] == 'Linux'
|
||||
# [ruby-dev:45703] Old Linux's fadvice() doesn't work on tmpfs.
|
||||
# [ruby-dev:45703] Old Linux's fadvise() doesn't work on tmpfs.
|
||||
mount = `mount`
|
||||
mountpoints = []
|
||||
mount.scan(/ on (\S+) type (\S+) /) {
|
||||
@ -3007,10 +3007,10 @@ End
|
||||
with_pipe do |r,w|
|
||||
# Linux 2.6.15 and earlier returned EINVAL instead of ESPIPE
|
||||
assert_raise(Errno::ESPIPE, Errno::EINVAL) {
|
||||
r.advise(:willneed) or skip "fadvice(2) is not implemented"
|
||||
r.advise(:willneed) or skip "fadvise(2) is not implemented"
|
||||
}
|
||||
assert_raise(Errno::ESPIPE, Errno::EINVAL) {
|
||||
w.advise(:willneed) or skip "fadvice(2) is not implemented"
|
||||
w.advise(:willneed) or skip "fadvise(2) is not implemented"
|
||||
}
|
||||
end
|
||||
end if /linux/ =~ RUBY_PLATFORM
|
||||
|
Loading…
x
Reference in New Issue
Block a user