aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library
Commit message (Collapse)AuthorAgeFilesLines
* Disable deprecation warning by the default [Feature #16345]Nobuyoshi Nakada2020-09-251-1/+1
| | | | And `-w` option turns it on.
* Update to ruby/spec@e829fb0Benoit Daloze2020-09-1712-12/+12
|
* 2.8 -> 3.0 in specsBenoit Daloze2020-09-15109-111/+111
|
* [ruby/ostruct] Fix dup/cloneMarc-Andre Lafortune2020-09-141-0/+2
|
* [ruby/ostruct] method_missing is privateMarc-Andre Lafortune2020-09-141-26/+3
|
* Revert the related commits about `Tempfile.open` change.Hiroshi SHIBATA2020-09-091-25/+3
| | | | | Start with https://github.com/ruby/ruby/commit/fa21985a7a2f8f52a8bd82bd12a724e9dca74934 to https://github.com/ruby/ruby/commit/d7492a0be885ea9f2b9f71e3e95582f9a859c439
* Adapt specs for the new Tempfile.open with block behaviorBenoit Daloze2020-08-291-3/+25
|
* Fix warnings related to new Socket.gethostby* deprecationsBenoit Daloze2020-08-292-18/+18
|
* Update to ruby/spec@335eb9bBenoit Daloze2020-08-283-12/+24
|
* do not test --version卜部昌平2020-08-221-3/+9
| | | | | | | `llvm-strip-7` is a sane valid strip command that LLVM 7 ships, albeit it does not understand `--version`. It is a bad idea to check that option. Instead just see if the command actually strips something. A copy of `/bin/sh` should suffice. That file must be ubiquitous.
* Use https instead of httpKazuhiro NISHIYAMA2020-07-283-6/+6
|
* Update to ruby/spec@07164daBenoit Daloze2020-07-274-0/+71
|
* Make StringIO encoding fixedNobuyoshi Nakada2020-07-201-1/+1
| | | | Get rid of affects by default external encoding.
* Avoid deprecated OpenSSL::Digest constantsBart de Water2020-06-292-2/+2
|
* Update to ruby/spec@b6b7752Benoit Daloze2020-06-273-2/+28
|
* Quarantine specs which fail frequently with CHECK_LEAKS=trueBenoit Daloze2020-06-031-0/+2
|
* Update to ruby/spec@4e486faBenoit Daloze2020-05-314-5/+40
|
* Fix error raised by Net::HTTPResponse#inflater if the block raisesBenoit Daloze2020-05-311-0/+67
| | | | * See https://bugs.ruby-lang.org/issues/13882#note-6
* Fix spec description for Net::HTTP.getBenoit Daloze2020-05-311-1/+1
|
* spec: add wsl guardYusuke Endoh2020-05-301-1/+1
| | | | | | | | | | WSL 2 is officially released. It uses Linux kernel, so almost all specs for Linux work on WSL, except one: gethostbyaddr. I guess network resolution in WSL is based on Windows, so the behavior seems a bit different from normal Linux. This change adds `platform_is_not :wsl` guard, and guards out the test in question.
* Thread scheduler for light weight concurrency.Samuel Williams2020-05-142-4/+4
|
* Update to ruby/spec@032ee74Benoit Daloze2020-05-0384-332/+332
|
* Update to ruby/spec@d394dfdBenoit Daloze2020-05-023-5/+28
|
* Fixed a message and version guard then moved to the existing blockNobuyoshi Nakada2020-05-011-6/+3
|
* Fix a typoTakashi Kokubun2020-05-011-1/+1
|
* Fix matrix spec for 7d360efe92d2db11a4e51820ed2f52de36b3257fTakashi Kokubun2020-05-011-1/+6
|
* [ruby/spec] Removed space between method name and argument list parenNobuyoshi Nakada2020-04-265-5/+5
|
* [ruby/spec] Fixed missing shouldNobuyoshi Nakada2020-04-261-1/+1
|
* Fixed the location of the shared libraryNobuyoshi Nakada2020-04-041-1/+3
| | | | | | | On platform where searchs shared libraries by `PATH` environment variable (i.e., Windows), the shared library is installed in `bindir`. On other platforms, the library directory is directed by `libdirname` indirectly.
* rbconfig_spec.rb: removed needless windows guardNobuyoshi Nakada2020-04-041-11/+9
| | | | This reverts commit 34b0a7be0ed2fd4ca4d1d509a22964b5e61dfe34.
* Refined "Drop support for ruby 2.4 from ruby/spec"Nobuyoshi Nakada2020-04-031-31/+29
| | | | By using spec/mspec/tool/remove_old_guards.rb.
* Removed obsolete namesNobuyoshi Nakada2020-04-033-9/+2
|
* Drop support for ruby 2.4 from ruby/specNobuyoshi Nakada2020-04-0133-472/+144
|
* Use FrozenError instead of frozen_error_classNobuyoshi Nakada2020-04-016-12/+12
|
* spec/ruby/library/rbconfig/rbconfig_spec.rb: restore "not windows" guardYusuke Endoh2020-03-281-9/+11
| | | | | | | | | | | | https://github.com/ruby/ruby/runs/541455267 ``` 1) RbConfig::CONFIG libdir/LIBRUBY_SO is the path to libruby and it exists if and only if ENABLE_SHARED FAILED Expected File.exist? "d:/Ruby26-x64/lib/x64-msvcrt-ruby260.dll" to be truthy but was false D:/a/ruby/ruby/src/spec/ruby/library/rbconfig/rbconfig_spec.rb:46:in `block (3 levels) in <top (required)>' D:/a/ruby/ruby/src/spec/ruby/library/rbconfig/rbconfig_spec.rb:4:in `<top (required)>' ```
* Fixed RbConfig spec for multiarchNobuyoshi Nakada2020-03-281-6/+7
|
* Guard RbConfig spec unless installedNobuyoshi Nakada2020-03-281-1/+1
|
* Update to ruby/spec@ec84479Benoit Daloze2020-03-289-47/+98
|
* Enclosed version constantNobuyoshi Nakada2020-03-151-3/+5
|
* Added guard against [Bug #16497]Nobuyoshi Nakada2020-03-151-1/+23
|
* [ruby/stringio] StringIO#initialize default to the source string encodingJean Boussier2020-03-151-0/+3
| | | | | | [Bug #16497] https://github.com/ruby/stringio/commit/4958a5ccab
* Update some syslog tests to absurb the format change of FreeBSD syslogYusuke Endoh2020-03-122-7/+6
| | | | | | | | | | | | | | | | | | FreeBSD ``` $ ruby -rsyslog -e 'Syslog.open("rubyspec", Syslog::LOG_PERROR) {|s| s.log(Syslog::LOG_ALERT, "Hello") }' rubyspec 78462 - - Hello ``` Linux ``` $ ruby -rsyslog -e 'Syslog.open("rubyspec", Syslog::LOG_PERROR) {|s| s.log(Syslog::LOG_ALERT, "Hello") }' rubyspec: Hello ``` https://github.com/freebsd/freebsd/commit/591ef7c8076109cff3c41f9bb50da996a34121e9
* Added version guard for OpenSSL::ConfigNobuyoshi Nakada2020-03-102-12/+31
|
* Update to ruby/spec@41bf282Benoit Daloze2020-02-2818-30/+37
|
* Warn non-nil `$/` [Feature #14240]Nobuyoshi Nakada2020-02-234-8/+12
|
* Warn non-nil `$\` [Feature #14240]Nobuyoshi Nakada2020-02-233-14/+19
|
* spec/ruby/library/socket/constants/constants_spec.rb: skip on AndroidYusuke Endoh2020-02-131-1/+1
| | | | IP_MAX_MEMBERSHIPS seems not to be defined on Android
* spec/ruby/library/socket/addrinfo/getnameinfo_spec.rb: skip on AndroidYusuke Endoh2020-02-131-10/+12
| | | | | | | | | | | FreeBSD's GETNAMEINFO(3) says: > If a link-layer address or UNIX-domain address is passed to > getnameinfo(), its ASCII representation will be stored in host. The > string pointed to by serv will be set to the empty string if non-NULL; > flags will always be ignored. Android seems to behave like FreeBSD.
* spec/ruby/library/etc/: skip the specs related to group on AndroidYusuke Endoh2020-02-132-2/+2
| | | | User/group system on Android seems different from normal Linux.
* spec/ruby/library/socket/addrinfo: skip the specs that uses SOCK_SEQPACKET ↵Yusuke Endoh2020-02-131-23/+27
| | | | | | on Android SOCK_SEQPACKET seems not to be supported on Android