summaryrefslogtreecommitdiffhomepage
path: root/tests/linux/i-startup.sh
Commit message (Collapse)AuthorAgeFilesLines
* linux/i-startup: do not depend on the host /etc/profileSean Kurtz12 days1-2/+7
| | | | | | | | A login shell reads /etc/profile before ~/envfile, and a distribution's copy is bash-flavoured: it fails on a substitution only bash accepts and it sets USER from the account database, so \u printed the real user. The ENV file now sets USER back, and the host's own diagnostic is dropped from the transcript.
* Hardening: ENV expanded and ignored for set-ID shells; no truncated profile pathSean Kurtz13 days1-2/+2
| | | | | | | POSIX: ENV is parameter-expanded, and not used when the real and effective user or group IDs differ. The expansion reuses the prompt's contained expansion (expand_quietly), so a bad ENV cannot unwind into startup. $HOME/.profile is not sourced if the path would be truncated.
* Edge-case, integration and z/OS tests, including z/OS stand-insSean Kurtz2026-11-151-0/+25
New groups: tests/scripts (integration, expectations from dash) and z/OS data set, tso, EBCDIC and tagging tests with Linux stand-ins.