ruby/test
Jeremy Evans 14e1739ff3 [ruby/irb] Make save-history extension safe for concurrent use
This makes the save-history extension check for modifications to
the history file before saving it.  If the history file was modified
after the history was loaded and before it was saved, append only
the new history lines to the history file.

This can result in more lines in the history file than SAVE_HISTORY
allows.  However, that will be fixed the next time irb is run and
the history is saved.

Fixes [Bug #13654]

https://github.com/ruby/irb/commit/041ef53845
2021-03-06 00:18:32 +09:00
..
-ext- Rename RubyVM::MJIT to RubyVM::JIT 2021-01-13 22:46:51 -08:00
base64
benchmark [ruby/benchmark] Adds `Tms#to_h` 2021-02-07 23:06:17 -05:00
bigdecimal [ruby/bigdecimal] Fix for the coerce cases in divide and DoDivmod 2021-01-16 00:09:26 +09:00
cgi
coverage test/coverage/test_coverage.rb: Add a test for [Bug #16967] 2020-06-20 09:28:03 +09:00
csv Rename RubyVM::MJIT to RubyVM::JIT 2021-01-13 22:46:51 -08:00
date [ruby/date] Make Ractor-compatible 2020-12-22 03:12:51 -05:00
dbm
did_you_mean Revert "Fixed typo" 2020-10-27 23:26:38 +09:00
digest [digest] Make digest Ractor safe 2020-12-19 15:08:01 +09:00
drb Rename RubyVM::MJIT to RubyVM::JIT 2021-01-13 22:46:51 -08:00
dtrace
erb [ruby/erb] Warn safe_level and later args even without -w 2021-01-21 13:52:02 +09:00
etc [ruby/etc] Make Ractor safe 2020-12-22 19:46:07 -05:00
excludes
fiber Expose scheduler as public interface & bug fixes. (#3945) 2021-02-09 19:39:56 +13:00
fiddle Oops! Add another test and fix to_proc implementation 2021-02-26 10:06:56 -08:00
fileutils Try to test with rake-13.0.2 again. 2020-12-19 16:53:18 +09:00
fixtures/fake_sorted_set_gem Import set 1.0.1 2020-12-22 21:41:44 +09:00
gdbm [ruby/gdbm] Workaround for GitHub Actions 2020-06-09 20:54:52 +09:00
io [ruby/io-console] Mark all tests that use run_pty as pend on JRuby 2021-02-05 12:29:33 +09:00
irb [ruby/irb] Make save-history extension safe for concurrent use 2021-03-06 00:18:32 +09:00
json Prepare to release json-2.5.0 2020-12-22 19:44:27 +09:00
lib Rename RubyVM::MJIT to RubyVM::JIT 2021-01-13 22:46:51 -08:00
logger [ruby/logger] Consider cygwin a Windows platform 2020-12-04 20:16:00 +09:00
matrix [ruby/matrix] Add `Matrix#rotate_entries` [#19] 2021-01-21 13:22:25 -05:00
mkmf Added tests for MakeMakefile#test_egrep_cpp 2021-02-05 13:59:27 +09:00
monitor Fix MonitorMixin when the super's initialize has kwargs 2020-07-17 16:37:18 -07:00
net Fix a warning 2021-01-23 10:52:17 +09:00
nkf
objspace objspace_dump.c: tag singleton classes and reference the superclass 2021-02-04 09:53:31 -08:00
open-uri Remove the deprecated override of Kernel#open in open-uri 2020-08-16 07:41:40 -07:00
openssl Revert the related commits about `Tempfile.open` change. 2020-09-09 21:10:48 +09:00
optparse
ostruct Fix method protection for modules in the ancestry chain. 2021-01-12 23:29:39 -05:00
pathname Forward keyword arguments for Pathname#each_line [Bug #17589] 2021-01-29 14:27:53 +09:00
psych [ruby/psych] Skip test_ractor.rb with ruby/psych repo 2020-12-23 19:45:54 +09:00
racc [ruby/racc] skip the failing test with JRuby 2020-11-10 21:21:07 +09:00
rdoc [ruby/rdoc] Support iso-strict format in git-log 2021-01-25 18:33:33 +09:00
readline [ruby/readline-ext] Use omit 2021-02-18 21:17:42 +09:00
reline [ruby/reline] Add a test for suppressing crash when dynamic prompt returns empty 2021-02-21 06:43:31 +09:00
resolv `fe80` should be case insensitive too 2020-11-09 16:16:30 +09:00
rinda Rename RubyVM::MJIT to RubyVM::JIT 2021-01-13 22:46:51 -08:00
ripper Fix typo [ci skip] 2021-02-19 17:27:53 +09:00
ruby Revert "Add tests for bug 17652" 2021-02-25 16:31:24 -08:00
rubygems Rename RubyVM::MJIT to RubyVM::JIT 2021-01-13 22:46:51 -08:00
socket added mutexes for socket and connection lists on win32 2021-02-23 16:20:01 +09:00
stringio [stringio] Make stringio Ractor safe 2020-12-18 22:00:07 +09:00
strscan [strscan] Make strscan Ractor safe (#17) 2020-12-18 14:25:41 +09:00
syslog
uri Fakes IPSocket.getaddress in the whole method 2020-05-06 16:06:25 +09:00
win32ole
yaml
zlib [ruby/zlib] test-unit didn't provide __name__ attribute 2021-02-10 12:49:16 +09:00
runner.rb
test_abbrev.rb
test_delegate.rb Add instance_methods to class generated by DelegateClass 2020-07-09 15:01:10 -07:00
test_extlibs.rb Removed win32api 2020-11-11 09:27:36 +09:00
test_find.rb
test_forwardable.rb
test_ipaddr.rb
test_mutex_m.rb [ruby/mutex_m] Fix `Mutex_m#initialize` when the super's initialize has kwargs 2020-12-04 19:53:16 +09:00
test_observer.rb
test_open3.rb [open3] only close streams if a block is passed 2020-06-18 10:00:20 -07:00
test_pp.rb
test_prettyprint.rb
test_prime.rb [ruby/prime] Optimize `Integer#prime?` 2020-12-09 00:40:09 -05:00
test_pstore.rb
test_pty.rb
test_rbconfig.rb
test_securerandom.rb Use build_message on test_securerandom.rb (#3543) 2020-09-16 07:45:01 +09:00
test_set.rb Import set 1.0.0 2020-12-22 12:20:21 +09:00
test_shellwords.rb
test_singleton.rb
test_sorted_set.rb Import set 1.0.1 2020-12-22 21:41:44 +09:00
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tmpdir.rb [ruby/tmpdir] Warn when environment variables skipped (fixes #2) 2020-09-14 18:22:37 +09:00
test_tracer.rb
test_trick.rb test/test_trick.rb: fixed the position to add timeout 2020-12-25 22:23:53 +09:00
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb