| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tests/zos/security: ask whether the redirect was refused, not how | Sean Kurtz | 11 days | 1 | -1/+1 |
| | | | | | | | zash exits 1 for a failed redirection on Linux and 2 on z/OS (the errno is mapped differently there). What the test is about is that the command fails, not the number it fails with. | ||||
| * | tests/zos/security: set PATH, and drop the read-only directory check | Sean Kurtz | 11 days | 1 | -1/+1 |
| | | | | | | | | | | z/OS profiles end PATH with a colon, which POSIX reads as the current directory, so the PATH check passed for the wrong reason there. The ZFS test also let the owner create files in a directory it had just chmod'ed 500, so that check proved nothing on the machine it was written for. A redirection into a missing directory tests the same error path and is refused everywhere. | ||||
| * | Readme icon and contents, a security test, realistic bench scripts | Sean Kurtz | 11 days | 1 | -0/+9 |
| README.md shows the shell's icon on a light or dark background, has a table of contents, and says C17 rather than C11 (the tree has built C17 since b4d6bf1). tests/zos/security.sh is the security-relevant half of the suite: a file created by redirection or mkdir takes the umask, a redirect into a directory without write permission fails, the current directory is not searched for a command, ENV is not read by a non-interactive shell, and neither an expansion nor a file name is re-parsed. bench/report.sh counts a generated log by level and hour, and bench/deploy.sh renders and verifies 100 configs from a template. Both are realistic scripts and both are compared for output against other shells by bench/run.sh, so they fail as tests as well as being timed. | |||||
