Skip to content

gnu-compat G13: trap -p/-P 参数校验缺失 #85

Closed

Description

@caomengxuan666

tests/trap.tests(145/140):

  • trap: cannot specify both -p and -P 缺失。
  • trap: -P requires at least one signal name 缺失。
  • EXIT trap 相关 +[8] false 行差异。

GNU 5.3.0 参考:builtins/trap.def:146,151。

原始 diff:target/issue-suites/results/live/trap.diff

Activity

  1. caomengxuan666 commented on Sep 15, 2026

    @caomengxuan666
    MemberAuthor

    Fixed in commit(s) on master. Root-cause fix verified against WSL GNU Bash 5.3.0 baseline. See git log for details.

  2. added
    bug
    gnu-baseline
    area:builtins
    family:S9
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:builtinsbugfamily:S9gnu-baseline

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions