Permalink
Browse files

bump rubyspecs, run ffi_specs by default

  • Loading branch information...
1 parent 5486c00 commit 4b4639a01baa77a330d0b2e92502ebe514e9bfba @timfel timfel committed Mar 12, 2013
View
@@ -89,7 +89,7 @@ class MSpecScript
elsif ENV["FFI_SPECS"] == "1"
set :files, ffi_files
else
- set :files, lang_files + core_files + lib_files + cmdline_files
+ set :files, lang_files + core_files + lib_files + cmdline_files + ffi_files
end
MSpec.enable_feature :fiber_library
@@ -1,3 +1,4 @@
fails:File#flock returns false if trying to lock an exclusively locked file
fails:File#flock fails with EBADF acquiring exclusive lock on read-only File
fails:File#flock fails with EBADF acquiring shared lock on read-only File
+fails:File#flock blocks if trying to lock an exclusively locked file
@@ -1,2 +1,3 @@
fails:Hash#delete raises a TypeError if called on a frozen instance
fails:Hash#delete raises a RuntimeError if called on a frozen instance
+fails:Hash#delete accepts keys with private #hash method
@@ -1,2 +1,3 @@
fails:Hash#store doesn't duplicate and freeze already frozen string keys
fails:Hash#store raises a RuntimeError if called on a frozen instance
+fails:Hash#store accepts keys with private #hash method
@@ -19,3 +19,45 @@ fails:Kernel#require_relative ($LOAD_FEATURES) does not load an absolute path th
fails:Kernel#require_relative ($LOAD_FEATURES) adds the suffix of the resolved filename
fails:Kernel#require_relative ($LOAD_FEATURES) loads a path for a file already loaded with a relative path
fails:Kernel#require_relative raises a LoadError if basepath does not exist
+fails:Kernel#require_relative with a relative path loads a path relative to the current file
+fails:Kernel#require_relative with a relative path loads a file defining many methods
+fails:Kernel#require_relative with a relative path raises a LoadError if the file does not exist
+fails:Kernel#require_relative with a relative path raises a LoadError if basepath does not exist
+fails:Kernel#require_relative with a relative path calls #to_str on non-String objects
+fails:Kernel#require_relative with a relative path raises a TypeError if argument does not respond to #to_str
+fails:Kernel#require_relative with a relative path raises a TypeError if passed an object that has #to_s but not #to_str
+fails:Kernel#require_relative with a relative path raises a TypeError if #to_str does not return a String
+fails:Kernel#require_relative with a relative path calls #to_path on non-String objects
+fails:Kernel#require_relative with a relative path calls #to_str on non-String objects returned by #to_path
+fails:Kernel#require_relative with a relative path (file extensions) loads a .rb extensioned file when passed a non-extensioned path
+fails:Kernel#require_relative with a relative path (file extensions) loads a .rb extensioned file when a C-extension file of the same name is loaded
+fails:Kernel#require_relative with a relative path (file extensions) does not load a C-extension file if a .rb extensioned file is already loaded
+fails:Kernel#require_relative with a relative path (file extensions) loads a .rb extensioned file when passed a non-.rb extensioned path
+fails:Kernel#require_relative with a relative path (file extensions) loads a .rb extensioned file when a complex-extensioned C-extension file of the same name is loaded
+fails:Kernel#require_relative with a relative path (file extensions) does not load a C-extension file if a complex-extensioned .rb file is already loaded
+fails:Kernel#require_relative with a relative path ($LOAD_FEATURES) stores an absolute path
+fails:Kernel#require_relative with a relative path ($LOAD_FEATURES) does not store the path if the load fails
+fails:Kernel#require_relative with a relative path ($LOAD_FEATURES) does not load an absolute path that is already stored
+fails:Kernel#require_relative with a relative path ($LOAD_FEATURES) adds the suffix of the resolved filename
+fails:Kernel#require_relative with a relative path ($LOAD_FEATURES) loads a path for a file already loaded with a relative path
+fails:Kernel#require_relative with an absolute path loads a path relative to the current file
+fails:Kernel#require_relative with an absolute path loads a file defining many methods
+fails:Kernel#require_relative with an absolute path raises a LoadError if the file does not exist
+fails:Kernel#require_relative with an absolute path raises a LoadError if basepath does not exist
+fails:Kernel#require_relative with an absolute path calls #to_str on non-String objects
+fails:Kernel#require_relative with an absolute path raises a TypeError if argument does not respond to #to_str
+fails:Kernel#require_relative with an absolute path raises a TypeError if passed an object that has #to_s but not #to_str
+fails:Kernel#require_relative with an absolute path raises a TypeError if #to_str does not return a String
+fails:Kernel#require_relative with an absolute path calls #to_path on non-String objects
+fails:Kernel#require_relative with an absolute path calls #to_str on non-String objects returned by #to_path
+fails:Kernel#require_relative with an absolute path (file extensions) loads a .rb extensioned file when passed a non-extensioned path
+fails:Kernel#require_relative with an absolute path (file extensions) loads a .rb extensioned file when a C-extension file of the same name is loaded
+fails:Kernel#require_relative with an absolute path (file extensions) does not load a C-extension file if a .rb extensioned file is already loaded
+fails:Kernel#require_relative with an absolute path (file extensions) loads a .rb extensioned file when passed a non-.rb extensioned path
+fails:Kernel#require_relative with an absolute path (file extensions) loads a .rb extensioned file when a complex-extensioned C-extension file of the same name is loaded
+fails:Kernel#require_relative with an absolute path (file extensions) does not load a C-extension file if a complex-extensioned .rb file is already loaded
+fails:Kernel#require_relative with an absolute path ($LOAD_FEATURES) stores an absolute path
+fails:Kernel#require_relative with an absolute path ($LOAD_FEATURES) does not store the path if the load fails
+fails:Kernel#require_relative with an absolute path ($LOAD_FEATURES) does not load an absolute path that is already stored
+fails:Kernel#require_relative with an absolute path ($LOAD_FEATURES) adds the suffix of the resolved filename
+fails:Kernel#require_relative with an absolute path ($LOAD_FEATURES) loads a path for a file already loaded with a relative path
@@ -9,3 +9,40 @@ fails:Process.getrlimit symbol to constant cooercion coerces :MEMLOCK into RLIMI
fails:Process.getrlimit symbol to constant cooercion coerces :NPROC into RLIMIT_NPROC
fails:Process.getrlimit symbol to constant cooercion coerces :RSS into RLIMIT_RSS
fails:Process.getrlimit symbol to constant cooercion when passed an unknown resource raises ArgumentError
+fails:Process.getrlimit returns a two-element Array of Integers
+fails:Process.getrlimit when passed an Object calls #to_int to convert to an Integer
+fails:Process.getrlimit when passed an Object raises a TypeError if #to_int does not return an Integer
+fails:Process.getrlimit when passed a Symbol coerces :AS into RLIMIT_AS
+fails:Process.getrlimit when passed a Symbol coerces :CORE into RLIMIT_CORE
+fails:Process.getrlimit when passed a Symbol coerces :CPU into RLIMIT_CPU
+fails:Process.getrlimit when passed a Symbol coerces :DATA into RLIMIT_DATA
+fails:Process.getrlimit when passed a Symbol coerces :FSIZE into RLIMIT_FSIZE
+fails:Process.getrlimit when passed a Symbol coerces :NOFILE into RLIMIT_NOFILE
+fails:Process.getrlimit when passed a Symbol coerces :STACK into RLIMIT_STACK
+fails:Process.getrlimit when passed a Symbol coerces :MEMLOCK into RLIMIT_MEMLOCK
+fails:Process.getrlimit when passed a Symbol coerces :NPROC into RLIMIT_NPROC
+fails:Process.getrlimit when passed a Symbol coerces :RSS into RLIMIT_RSS
+fails:Process.getrlimit when passed a Symbol coerces :RTPRIO into RLIMIT_RTPRIO
+fails:Process.getrlimit when passed a Symbol coerces :RTTIME into RLIMIT_RTTIME
+fails:Process.getrlimit when passed a Symbol coerces :SIGPENDING into RLIMIT_SIGPENDING
+fails:Process.getrlimit when passed a Symbol coerces :MSGQUEUE into RLIMIT_MSGQUEUE
+fails:Process.getrlimit when passed a Symbol coerces :NICE into RLIMIT_NICE
+fails:Process.getrlimit when passed a Symbol raises ArgumentError when passed an unknown resource
+fails:Process.getrlimit when passed a String coerces 'AS' into RLIMIT_AS
+fails:Process.getrlimit when passed a String coerces 'CORE' into RLIMIT_CORE
+fails:Process.getrlimit when passed a String coerces 'CPU' into RLIMIT_CPU
+fails:Process.getrlimit when passed a String coerces 'DATA' into RLIMIT_DATA
+fails:Process.getrlimit when passed a String coerces 'FSIZE' into RLIMIT_FSIZE
+fails:Process.getrlimit when passed a String coerces 'NOFILE' into RLIMIT_NOFILE
+fails:Process.getrlimit when passed a String coerces 'STACK' into RLIMIT_STACK
+fails:Process.getrlimit when passed a String coerces 'MEMLOCK' into RLIMIT_MEMLOCK
+fails:Process.getrlimit when passed a String coerces 'NPROC' into RLIMIT_NPROC
+fails:Process.getrlimit when passed a String coerces 'RSS' into RLIMIT_RSS
+fails:Process.getrlimit when passed a String coerces 'RTPRIO' into RLIMIT_RTPRIO
+fails:Process.getrlimit when passed a String coerces 'RTTIME' into RLIMIT_RTTIME
+fails:Process.getrlimit when passed a String coerces 'SIGPENDING' into RLIMIT_SIGPENDING
+fails:Process.getrlimit when passed a String coerces 'MSGQUEUE' into RLIMIT_MSGQUEUE
+fails:Process.getrlimit when passed a String coerces 'NICE' into RLIMIT_NICE
+fails:Process.getrlimit when passed a String raises ArgumentError when passed an unknown resource
+fails:Process.getrlimit when passed on Object calls #to_str to convert to a String
+fails:Process.getrlimit when passed on Object calls #to_int if #to_str does not return a String
@@ -20,3 +20,41 @@ fails:Process.setrlimit and Process.getrlimit symbol to constant coerction coerc
fails:Process.setrlimit and Process.getrlimit symbol to constant coerction coerces :NPROC into RLIMIT_NPROC
fails:Process.setrlimit and Process.getrlimit symbol to constant coerction coerces :RSS into RLIMIT_RSS
fails:Process.setrlimit and Process.getrlimit symbol to constant coerction when passed an unknown resource raises ArgumentError
+fails:Process.setrlimit when passed an Object calls #to_int to convert resource to an Integer
+fails:Process.setrlimit when passed an Object raises a TypeError if #to_int for resource does not return an Integer
+fails:Process.setrlimit when passed an Object calls #to_int to convert the soft limit to an Integer
+fails:Process.setrlimit when passed an Object calls #to_int to convert the hard limit to an Integer
+fails:Process.setrlimit when passed a Symbol coerces :AS into RLIMIT_AS
+fails:Process.setrlimit when passed a Symbol coerces :CORE into RLIMIT_CORE
+fails:Process.setrlimit when passed a Symbol coerces :CPU into RLIMIT_CPU
+fails:Process.setrlimit when passed a Symbol coerces :DATA into RLIMIT_DATA
+fails:Process.setrlimit when passed a Symbol coerces :FSIZE into RLIMIT_FSIZE
+fails:Process.setrlimit when passed a Symbol coerces :NOFILE into RLIMIT_NOFILE
+fails:Process.setrlimit when passed a Symbol coerces :STACK into RLIMIT_STACK
+fails:Process.setrlimit when passed a Symbol coerces :MEMLOCK into RLIMIT_MEMLOCK
+fails:Process.setrlimit when passed a Symbol coerces :NPROC into RLIMIT_NPROC
+fails:Process.setrlimit when passed a Symbol coerces :RSS into RLIMIT_RSS
+fails:Process.setrlimit when passed a Symbol coerces :RTPRIO into RLIMIT_RTPRIO
+fails:Process.setrlimit when passed a Symbol coerces :RTTIME into RLIMIT_RTTIME
+fails:Process.setrlimit when passed a Symbol coerces :SIGPENDING into RLIMIT_SIGPENDING
+fails:Process.setrlimit when passed a Symbol coerces :MSGQUEUE into RLIMIT_MSGQUEUE
+fails:Process.setrlimit when passed a Symbol coerces :NICE into RLIMIT_NICE
+fails:Process.setrlimit when passed a Symbol raises ArgumentError when passed an unknown resource
+fails:Process.setrlimit when passed a String coerces 'AS' into RLIMIT_AS
+fails:Process.setrlimit when passed a String coerces 'CORE' into RLIMIT_CORE
+fails:Process.setrlimit when passed a String coerces 'CPU' into RLIMIT_CPU
+fails:Process.setrlimit when passed a String coerces 'DATA' into RLIMIT_DATA
+fails:Process.setrlimit when passed a String coerces 'FSIZE' into RLIMIT_FSIZE
+fails:Process.setrlimit when passed a String coerces 'NOFILE' into RLIMIT_NOFILE
+fails:Process.setrlimit when passed a String coerces 'STACK' into RLIMIT_STACK
+fails:Process.setrlimit when passed a String coerces 'MEMLOCK' into RLIMIT_MEMLOCK
+fails:Process.setrlimit when passed a String coerces 'NPROC' into RLIMIT_NPROC
+fails:Process.setrlimit when passed a String coerces 'RSS' into RLIMIT_RSS
+fails:Process.setrlimit when passed a String coerces 'RTPRIO' into RLIMIT_RTPRIO
+fails:Process.setrlimit when passed a String coerces 'RTTIME' into RLIMIT_RTTIME
+fails:Process.setrlimit when passed a String coerces 'SIGPENDING' into RLIMIT_SIGPENDING
+fails:Process.setrlimit when passed a String coerces 'MSGQUEUE' into RLIMIT_MSGQUEUE
+fails:Process.setrlimit when passed a String coerces 'NICE' into RLIMIT_NICE
+fails:Process.setrlimit when passed a String raises ArgumentError when passed an unknown resource
+fails:Process.setrlimit when passed on Object calls #to_str to convert to a String
+fails:Process.setrlimit when passed on Object calls #to_int if #to_str does not return a String
@@ -1 +1,3 @@
fails:causes the main thread to raise that exception
+fails:Thread#abort_on_exception=
+fails:Thread.abort_on_exception=
@@ -0,0 +1,20 @@
+fails:C-API Array function rb_ary_to_s creates an Array literal representation as a String
+fails:C-API Array function rb_ary_store raises on IndexError if the negative index is greater than the length
+fails:C-API Array function rb_ary_concat concats two arrays
+fails:C-API Array function RARRAY_PTR returns a pointer to a C array of the array's elements
+fails:C-API Array function RARRAY_PTR allows assigning to the elements of the C array
+fails:C-API Array function RARRAY_LEN returns the size of the array
+fails:C-API Array function rb_ary_aref returns the element at the given index
+fails:C-API Array function rb_ary_aref returns nil for an out of range index
+fails:C-API Array function rb_ary_aref returns a new array where the first argument is the index and the second is the length
+fails:C-API Array function rb_ary_aref accepts a range
+fails:C-API Array function rb_ary_aref returns nil when the start of a range is out of bounds
+fails:C-API Array function rb_ary_aref returns an empty array when the start of a range equals the last element
+fails:C-API Array function rb_iterate calls a function with the other function available as a block
+fails:C-API Array function rb_iterate calls a function which can yield into the original block
+fails:C-API Array function rb_mem_clear sets elements of a C array to nil
+fails:C-API Array function rb_ary_freeze freezes the object exactly like Object#freeze
+fails:C-API Array function rb_ary_to_ary with an array returns the given array
+fails:C-API Array function rb_ary_to_ary with an object that responds to to_ary calls to_ary on the object
+fails:C-API Array function rb_ary_to_ary with an object that responds to to_a returns the original object in an array
+fails:C-API Array function rb_ary_to_ary with an object that doesn't respond to to_ary returns the original object in an array
@@ -0,0 +1,7 @@
+fails:CApiBignumSpecs rb_big2ulong wraps around if passed a negative bignum
+fails:CApiBignumSpecs RBIGNUM_SIGN returns C true if the Bignum has a positive sign
+fails:CApiBignumSpecs RBIGNUM_SIGN retuns C false if the Bignum has a negative sign
+fails:CApiBignumSpecs RBIGNUM_POSITIVE_P returns C true if the Bignum has a positive sign
+fails:CApiBignumSpecs RBIGNUM_POSITIVE_P retuns C false if the Bignum has a negative sign
+fails:CApiBignumSpecs RBIGNUM_NEGATIVE_P returns C false if the Bignum has a positive sign
+fails:CApiBignumSpecs RBIGNUM_NEGATIVE_P retuns C true if the Bignum has a negative sign
@@ -0,0 +1,22 @@
+fails:C-API Class function rb_call_super calls the method in the superclass
+fails:C-API Class function rb_call_super calls the method in the superclass through two native levels
+fails:C-API Class function rb_path2class returns a class or module from a scoped String
+fails:C-API Class function rb_path2class raises an ArgumentError if a constant in the path does not exist
+fails:C-API Class function rb_path2class raises an ArgumentError if the final constant does not exist
+fails:C-API Class function rb_path2class raises a TypeError if the constant is not a class or module
+fails:C-API Class function rb_path2class raises an ArgumentError even if a constant in the path exists on toplevel
+fails:C-API Class function rb_path_to_class returns a class or module from a scoped String
+fails:C-API Class function rb_path_to_class raises an ArgumentError if a constant in the path does not exist
+fails:C-API Class function rb_path_to_class raises an ArgumentError if the final constant does not exist
+fails:C-API Class function rb_path_to_class raises a TypeError if the constant is not a class or module
+fails:C-API Class function rb_path_to_class raises an ArgumentError even if a constant in the path exists on toplevel
+fails:C-API Class function rb_define_class_under defines a class for an existing Autoload
+fails:C-API Class function rb_cv_get returns the value of the class variable
+fails:C-API Class function rb_cvar_get returns the value of the class variable
+fails:C-API Class function rb_class_inherited calls superclass.inherited(subclass)
+fails:C-API Class function rb_class_inherited calls Object.inherited(subclass) if superclass is C NULL
+fails:C-API Class function rb_class_new returns an new subclass of the superclass
+fails:C-API Class function rb_class_new raises a TypeError if passed Class as the superclass
+fails:C-API Class function rb_class_new raises a TypeError if passed a singleton class as the superclass
+fails:C-API Class function rb_class_superclass returns the superclass of a class
+fails:C-API Class function rb_class_superclass returns nil if the class has no superclass
@@ -0,0 +1,4 @@
+fails:C-API exception constant rb_eMathDomainError references the Math::DomainError class
+fails:C-API exception constant rb_eEncCompatError references the Encoding::CompatibilityError
+fails:C-API exception constant rb_mWaitReadable references the IO::WaitReadable module
+fails:C-API exception constant rb_mWaitWritable references the IO::WaitWritable module
@@ -0,0 +1,4 @@
+fails:C-API Enumerator function rb_enumeratorize constructs a new Enumerator for the given object, method and arguments
+fails:C-API Enumerator function rb_enumeratorize enumerates the given object
+fails:C-API Enumerator function rb_enumeratorize uses the given method for enumeration
+fails:C-API Enumerator function rb_enumeratorize passes the given arguments to the enumeration method
@@ -0,0 +1,14 @@
+fails:C-API File function rb_file_open raises an ArgumentError if passed an empty mode string
+fails:C-API File function rb_file_open opens a file in read-only mode with 'r'
+fails:C-API File function rb_file_open creates and opens a non-existent file with 'w'
+fails:C-API File function rb_file_open truncates an existing file with 'w'
+fails:C-API File function rb_file_open_str raises an ArgumentError if passed an empty mode string
+fails:C-API File function rb_file_open_str opens a file in read-only mode with 'r'
+fails:C-API File function rb_file_open_str creates and opens a non-existent file with 'w'
+fails:C-API File function rb_file_open_str truncates an existing file with 'w'
+fails:C-API File function rb_file_open_str calls #to_path to convert on object to a path
+fails:C-API File function rb_file_open_str calls #to_str to convert an object to a path if #to_path isn't defined
+fails:C-API File function FilePathValue returns a String argument unchanged
+fails:C-API File function FilePathValue does not call #to_str on a String
+fails:C-API File function FilePathValue calls #to_path to convert an object to a String
+fails:C-API File function FilePathValue calls #to_str to convert an object to a String if #to_path isn't defined
Oops, something went wrong.

0 comments on commit 4b4639a

Please sign in to comment.