Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Sigtrap19 #2110

Merged
merged 3 commits into from

2 participants

@sdaubert

Make spec 'Signal.trap ignores the signal when passed nil' pass for rx19

sdaubert added some commits
@sdaubert sdaubert Spec 'Signal.trap ignores the signal when passed nil' OK for rx19:
  - extract Signal.trap from kernel/common/signal.rb to
    kernel/common/signal18.rb;
  - create a new file kernel/common/signal19.rb with new version for
    Signal.trap:
      - in case stattement, add a new +when nil+ statetement which
        set +prc+ to +nil+;
      - in +when "IGNORE", "SIG_IGN"+ statement, +prc+ is set to
        "IGNORE" string;
      - in Rubinius.watch_signal, replace +prc.nil?+ with
        +prc.nil? || prc == 'IGNORE'+;
      - return statements now return +nil+ when +old+ is false
        instead of "IGNORE";
  - modify kernel/common/load_order*.
62f6c84
@sdaubert sdaubert kernel/common/signal19.rb:
  modify first Rubinius.watch_signal as second in previous commit.

spec/tags/19/ruby/core/signal/trap_tags.txt:
  remove fail tag on core/signal/trap spec.
492ef36
@sdaubert sdaubert Merge branch 'sigtrap19' of github.com:sdaubert/rubinius into sigtrap19 5940d97
@brixen brixen merged commit 5940d97 into from
@sdaubert sdaubert deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 6, 2013
  1. @sdaubert

    Spec 'Signal.trap ignores the signal when passed nil' OK for rx19:

    sdaubert authored
      - extract Signal.trap from kernel/common/signal.rb to
        kernel/common/signal18.rb;
      - create a new file kernel/common/signal19.rb with new version for
        Signal.trap:
          - in case stattement, add a new +when nil+ statetement which
            set +prc+ to +nil+;
          - in +when "IGNORE", "SIG_IGN"+ statement, +prc+ is set to
            "IGNORE" string;
          - in Rubinius.watch_signal, replace +prc.nil?+ with
            +prc.nil? || prc == 'IGNORE'+;
          - return statements now return +nil+ when +old+ is false
            instead of "IGNORE";
      - modify kernel/common/load_order*.
  2. @sdaubert

    kernel/common/signal19.rb:

    sdaubert authored
      modify first Rubinius.watch_signal as second in previous commit.
    
    spec/tags/19/ruby/core/signal/trap_tags.txt:
      remove fail tag on core/signal/trap spec.
  3. @sdaubert
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 0 deletions.
Something went wrong with that request. Please try again.