<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zash.git/tests/tools/csi.c, branch main</title>
<subtitle>Fast Almquist-family POSIX shell for z/OS UNIX with bundled libedit</subtitle>
<id>https://git.abendless.com/zash.git/atom?h=main</id>
<link rel='self' href='https://git.abendless.com/zash.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/'/>
<updated>2026-11-27T23:59:16Z</updated>
<entry>
<title>tests: pin the CSI type byte in both character sets, and a gzip archive</title>
<updated>2026-11-27T23:59:16Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-27T23:59:16Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=1b00c3d4749038add86bb799d453f1bcd71b52af'/>
<id>urn:sha1:1b00c3d4749038add86bb799d453f1bcd71b52af</id>
<content type='text'>
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)).
</content>
</entry>
</feed>
