summaryrefslogtreecommitdiffhomepage
path: root/bench/compat.sh
Commit message (Collapse)AuthorAgeFilesLines
* bench: measure zash against the sh this host hasbench/host-sh-compatSean Kurtz4 days1-0/+54
`compat.sh` runs every tests/posix script under zash and under another shell, each in an empty directory, and prints the ones whose output or status differ. It is not a test: the .exp files are a reference shell's output, and on z/OS /bin/sh is IBM's ksh-lineage shell with wording and statuses of its own. The count is how close a script naming #!/bin/sh gets to its meaning here; the diffs say which differences to read. On cbt, 10 of the 38 scripts agree and 28 differ, most of them on diagnostics.