Repository navigation
WIP: tests: pin backfill — #2175 wrong pins, #1034 port, open_fds delta pin - #2189
Merged
Merged
Conversation
history_builtin_rejects_extra_and_malformed_arguments: drop the r1/r3 expectations — GNU no_args (builtins/common.c:139) jumps to DISCARD, so the trailing echo never runs on the too-many-arguments probes; oracle and master rubash output are byte-identical without them. history_append_without_histfile_reports_failure_and_continues: pin the fixture (HISTFILE removed) and expect the GNU wording 'history: HISTFILE: parameter null or not set' (measured for both unset and empty HISTFILE); the old 'filename not specified' text is not a GNU 5.3.20 message. c_exec_keeps_stdout_redirect_after_invalid_expanded_option renamed to c_exec_invalid_expanded_option_discards_redirect_and_keeps_stdout with GNU expectations: stdout 'after', target file created empty. issue151_interactive_dash_c_includes_h_letter: accept exactly the two GNU-measured values hiBHc / himBHc (the m letter follows whether the runner grants a controlling terminal); the H shape is unchanged. Tests only; no product changes.
…Refs #1034) Only the two test shapes are ported; nothing else from the branch. Both shapes verified against GNU bash 5.3.20 via script files (GOTINT after the full sleep, rc 0 / exit 41) and pass on master.
…y-faces (Refs #1557) The absolute fd-count assertions are environment-dependent (the executor adopts host-inherited descriptors); the pin now asserts deltas from the session's own baseline: baseline superset of {0,1,2}, exec 3> adds exactly {3}, exec 3>&- removes it again. Diff is byte-identical to the branch hunk (blob 2211956).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pin-backfill batch — tests only, no product changes. Three commits, one per workstream.
A — Refs #2175 (wrong pins, expectations now match GNU bash 5.3.20, oracle-verified via script files)
history_builtin_rejects_extra_and_malformed_arguments: dropped ther1=2/r3=2expectations. GNUno_args(builtins/common.c:139) jumps to DISCARD on the too-many-arguments path, so the trailing; echo "rN=$?"never runs; oracle and master rubash output are byte-identical without those lines.history_append_without_histfile_reports_failure_and_continues: fixture pinned (HISTFILE explicitly removed) and expectation changed to the GNU wordinghistory: HISTFILE: parameter null or not set— measured identical for unset and empty-string HISTFILE; the oldfilename not specifiedtext is not a GNU 5.3.20 message on either path.c_exec_keeps_stdout_redirect_after_invalid_expanded_option→ renamedc_exec_invalid_expanded_option_discards_redirect_and_keeps_stdout, expectations flipped to GNU: stdout getsafter, the target file is created empty, the invalid exec (redirections included) is discarded.issue151_interactive_dash_c_includes_h_letter: accepts exactly the two GNU-measured valueshiBHc/himBHc— themletter follows whether the runner grants a controlling terminal (verified: GNU as session leader on a ctty printshimBHc); the guardedHshape is unchanged.B — Refs #1034 (port from
fix/reopen-trap, tests only)tests/issue1034_sleep_trap_deferral_regressions.rs(2 pins), ported verbatim; shapes verified against GNU 5.3.20 (GOTINT only after the full sleep; rc 0 / exit 41) and green on master.__RUBASH_TRAP_ORIG_IGNare not honored at startup, while the live kernel entry-ignore path is GNU-identical). Documented as a discovery in the cluster REPORT for main-session filing; the pin file is preserved with the report.C — Refs #1557 (port from
feat/s5-registry-faces, tests only)open_fds_reflect_the_session_fd_tablerewritten delta-style: baseline superset of {0,1,2},exec 3>adds exactly {3},exec 3>&-removes it again — the absolute-count form was environment-dependent because the executor adopts host-inherited descriptors. Diff byte-identical to the branch hunk.Local verification (fd 9 closed): cli_tests filtered face (history_ + c_exec_) 7 passed / 0 failed, 468 filtered out (all three corrected A pins in the matched set); issue0151 file 5/5; issue1034 file 2/2; session_api 12/12. Full verification via this PR's CI.