Actions
Bug #12903
closedTestFile#test_stat fails on FreeBSD 11.0
Description
TestFile#test_stat fails on FreeBSD 11.0 as follows:
CC = cc
LD = ld
LDSHARED = cc -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Werror=implicit-int -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -Werror=division-by-zero -Werror=deprecated-declarations -Werror=extra-tokens -std=gnu99
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
CPPFLAGS = -I/usr/local/include -I. -I.ext/include/x86_64-freebsd11.0 -I./include -I. -I./enc/unicode/9.0.0
DLDFLAGS = -Wl,-soname,showflags -L/usr/local/lib -Wl,-R/usr/local/lib -fstack-protector -pie
SOLIBS = -lgmp
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
Target: x86_64-unknown-freebsd11.0
Thread model: posix
InstalledDir: /usr/bin
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" --excludes-dir=./test/excludes --name=!/memory_leak/
# Running tests:
1) Failure:
TestFile#test_stat [/usr/home/shugo/src/ruby/test/ruby/test_file.rb:374]:
Expected |1478303575.3417945 - 1478303569.34175| (6.000044584274292) to be <= 1.
Finished tests in 6.200889s, 6.7732 tests/s, 67.4097 assertions/s.
42 tests, 418 assertions, 1 failures, 0 errors, 0 skips
ruby -v: ruby 2.4.0dev (2016-11-04 trunk 56558) [x86_64-freebsd11.0]
*** Error code 1
Stop.
make: stopped in /usr/home/shugo/src/ruby
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
Do you mount with noatime
option?
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
- Status changed from Open to Closed
Applied in changeset r56559.
test_file.rb: fix noatime
- test/ruby/test_file.rb (TestFile#test_stat): fix noatime case.
[ruby-core:77943] [Bug #12903]
Updated by shugo (Shugo Maeda) over 8 years ago
Nobuyoshi Nakada wrote:
Do you mount with
noatime
option?
I didn't mean to, but yes.
test_file.rb: fix noatime
test/ruby/test_file.rb (TestFile#test_stat): fix noatime case. [Bug #12903]
It might to be better to check the mount option.
Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago
- Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: REQUIRED
Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago
- Backport changed from 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: DONE
ruby_2_3 r56785 merged revision(s) 56559,56582,56584,56585.
Updated by usa (Usaku NAKAMURA) over 8 years ago
- Backport changed from 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: DONE to 2.1: UNKNOWN, 2.2: DONE, 2.3: DONE
ruby_2_2 r56789 merged revision(s) 56559,56582,56584,56585.
Actions
Like0
Like0Like0Like0Like0Like0Like0