Repository navigation
Backport tests from yash-rs - #259
Merged
Merged
Conversation
Backport test cases added to the scripted tests of yash-rs since 2026-07-01. Test cases for the portable option of yash-rs are rewritten to run in the POSIXly-correct mode where yash shows the same behavior. magicant/yash-rs@4587e3a magicant/yash-rs@3e88a2f magicant/yash-rs@3925305 magicant/yash-rs@bc10ed4 magicant/yash-rs@38a2870 magicant/yash-rs@ffeeee7 magicant/yash-rs@5e54f9d magicant/yash-rs@69dadcf magicant/yash-rs@3eadff3 magicant/yash-rs@176803a magicant/yash-rs@334ea3b magicant/yash-rs@3575ffd magicant/yash-rs@65b4578 magicant/yash-rs@7e1317a magicant/yash-rs@91d2726 magicant/yash-rs@ab53181 magicant/yash-rs@ad5f611 magicant/yash-rs@b82c36d magicant/yash-rs@be78154 magicant/yash-rs@bf23363 magicant/yash-rs@6b6909b magicant/yash-rs@e048100 magicant/yash-rs@0a8c933 magicant/yash-rs@7a3cdc1 magicant/yash-rs@e8b9f84 magicant/yash-rs@15bfe46 magicant/yash-rs@10e192f magicant/yash-rs@035b2b9 magicant/yash-rs@052f4e4 magicant/yash-rs@e8a8659 magicant/yash-rs@70c603a magicant/yash-rs@0853998 magicant/yash-rs@92fb867 magicant/yash-rs@d20738f magicant/yash-rs@5b94829 magicant/yash-rs@c09bd07 magicant/yash-rs@b2f05f4 magicant/yash-rs@1b5a2bc magicant/yash-rs@5d9580a Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
[AI-generated]
This PR backports test cases that were added to the scripted tests of yash-rs since 2026-07-01. The commit message lists the source commits in yash-rs.
What is included
cd --physical,exit --force,jobs --verbose,ulimit --hard, and so on), variable names that are not portable (export foo-bar=1and similar cases), case-insensitive trap conditions and the SIG prefix,kill -loperands given as signal names, and more.portableoption of yash-rs whose behavior yash reproduces in the POSIXly-correct mode. They are placed inposix="true"blocks, or run with--posixinkill-y.tstfor consistency with the existing test cases in that file. Their names end with "(POSIX)" instead of mentioning the portable option.doneinpath-y.tst, and a background job left running bybg-p.tst.true-y.tstandfalse-y.tst, named after their counterparts in yash-rs.Adjustments from the original test cases
command --path :is replaced withcommand --identify :, because yash does not have the--pathoption and would reject it even outside the POSIXly-correct mode.Testing
make testpasses with no errors (4 test cases skipped, none of them related to this change).🤖 Generated with Claude Code