summaryrefslogtreecommitdiffhomepage
path: root/tests/zos/csi-parse.exp
Commit message (Collapse)AuthorAgeFilesLines
* tests: pin the CSI type byte in both character sets, and a gzip archiveSean Kurtz2 days1-0/+5
The CSI entry type byte is converted from EBCDIC in an ASCII build and must be used as it is in an EBCDIC build (notes/review-2026-11-27.md, item 12). Nothing but Tab completion on z/OS reaches that code, so the test drives the decoder directly: tests/tools/csi.c builds a work area with one data set, one user catalog connector and one catalog entry, and asks csi_parse() for the names. On z/OS the Makefile builds it twice, once per character set, and tests/zos/csi-parse.sh runs both; each prints a verdict, so one expectation covers both builds. tests/zos/tagging.sh gains the case the review asked for: a gzip archive made through zash (with its stdout tagged and converting) must be byte for byte the archive /bin/sh's redirect makes. It is: gzip turns conversion off for its own output, and the 1047 tag is the one /bin/sh leaves on this host too (_BPXK_AUTOCVT=ON, _CEE_RUNOPTS=FILETAG(AUTOCVT,AUTOTAG)).