Hopefully this is less maintenance down the line since Ruby introduces incompatibilities at a higher rate than Perl. I don't fully trust Perl, either, but far more Ruby code gets broken by new releases. More to come at some point... Note: attached patches are generated with --irreversible-delete to save bandwidth. Eric Wong (11): tests: port some bad config tests to Perl 5 tests: port working_directory tests to Perl 5 tests: port t/heartbeat-timeout to Perl 5 tests: port reopen logs test over to Perl 5 tests: rewrite SIGWINCH && SIGTTIN test in Perl 5 tests: introduce `do_req' helper sub tests: use more common variable names between tests tests: use Time::HiRes `sleep' and `time' everywhere tests: fold SO_KEEPALIVE check to Perl 5 integration tests: move broken app test to Perl 5 integration test tests: fold early shutdown() tests into t/integration.t t/active-unix-socket.t | 4 +- t/client_body_buffer_size.t | 6 +- t/heartbeat-timeout.ru | 2 +- t/heartbeat-timeout.t | 62 +++++++++++++++ t/integration.ru | 1 + t/integration.t | 82 +++++++++++++------- t/lib.perl | 51 ++++++++++-- t/reload-bad-config.t | 54 +++++++++++++ t/{t0006.ru => reopen-logs.ru} | 0 t/reopen-logs.t | 39 ++++++++++ t/t0001-reload-bad-config.sh | 53 ------------- t/t0002-config-conflict.sh | 49 ------------ t/t0003-working_directory.sh | 51 ------------ t/t0004-heartbeat-timeout.sh | 69 ----------------- t/t0004-working_directory_broken.sh | 24 ------ t/t0005-working_directory_app.rb.sh | 40 ---------- t/t0006-reopen-logs.sh | 83 -------------------- t/t0007-working_directory_no_embed_cli.sh | 44 ----------- t/t0009-winch_ttin.sh | 59 -------------- t/winch_ttin.t | 67 ++++++++++++++++ t/working_directory.t | 94 +++++++++++++++++++++++ test/exec/test_exec.rb | 23 +----- test/unit/test_server.rb | 67 ---------------- 23 files changed, 424 insertions(+), 600 deletions(-) create mode 100644 t/heartbeat-timeout.t create mode 100644 t/reload-bad-config.t rename t/{t0006.ru => reopen-logs.ru} (100%) create mode 100644 t/reopen-logs.t delete mode 100755 t/t0001-reload-bad-config.sh delete mode 100755 t/t0002-config-conflict.sh delete mode 100755 t/t0003-working_directory.sh delete mode 100755 t/t0004-heartbeat-timeout.sh delete mode 100755 t/t0004-working_directory_broken.sh delete mode 100755 t/t0005-working_directory_app.rb.sh delete mode 100755 t/t0006-reopen-logs.sh delete mode 100755 t/t0007-working_directory_no_embed_cli.sh delete mode 100755 t/t0009-winch_ttin.sh create mode 100644 t/winch_ttin.t create mode 100644 t/working_directory.t