summaryrefslogtreecommitdiffhomepage
path: root/tests/linux/i-dscomplete.exp
Commit message (Collapse)AuthorAgeFilesLines
* Fix zopen packaging checks, update i-dscomplete.exp, and add GitHub Actions CISean Kurtz15 hours1-2/+6
| | | | | | | | | | | | | | - buildenv: declare coreutils, diffutils, and gzip in ZOPEN_DEV_DEPS and ZOPEN_STABLE_DEPS (build/check deps only; no runtime deps added) so tests/run.sh and tests/zos/tagging.sh have GNU tools and gzip under zopen build's minimal check environment. - tests/run.sh: unset _TAG_REDIR_IN, _TAG_REDIR_OUT, and _TAG_REDIR_ERR alongside _BPX_SHAREAS/_BPX_SPAWN_SCRIPT so zopen's check_clang env does not alter the tagging test baseline. - tests/linux/i-dscomplete.exp: update expected listing for CSI_MAX_CALLS=3 (changed from 2 to 3 in b3879f5 without regenerating .exp). - .github/workflows/ci.yml: add Linux CI workflow (Clang 19+, make, make zos-lint, make check, make asan, staged make install).
* completion: no catalog search until a high-level qualifier is completeSean Kurtz11 days1-13/+25
| | | | | | | | | | | | | | | A filter whose first qualifier is generic makes Catalog Management resolve aliases generically, and the manual warns that a generic high-level qualifier can select several catalogs at once: a high-level of "**" means every user catalog. Tab is no reason to ask that of the catalog address space, so completion waits until a whole high-level qualifier is typed before it searches at all. The searches are narrower too: entry types U (user catalog connector) and X (alias) are excluded, since they are not data set names; the required return-area length is checked before a resume, as Managing Catalogs asks; and the editor lists at most one screenful of candidates, with a count of the rest, instead of a fixed 200.
* completion: stop guessing the HLQ for a bare //NAMESean Kurtz11 days1-4/+0
| | | | | | | `//NAME` completed against <user>.NAME, which meant assuming a TSO profile. It now offers nothing: only `//'DSN` and `//DD:` complete. The quoted member form keeps working, and the tests drop the relative cases.
* z/OS: file tagging, catalog completion, time, and per-command optionsSean Kurtz2026-11-151-0/+37
Tagging and conversion (sys_zos.c, redir.c, input.c, var.c, exec.c): - _TAG_REDIR_IN/OUT/ERR as /bin/sh documents them, cached by variable hooks so redirection tests a byte; honoured as a prefix on external commands and on pipeline stages. - ASCII builds tag new output and here-document files as text, tag pipes IBM-1047 (set +o pipetag to stop), and switch on autoconvert. - Scripts, . files, profile and ENV are read in either character set: tagged files get F_CONTROL_CVT, untagged ones are sniffed. - tag/chtag primitives (sys_tag_get/sys_tag_set) for a builtin to come. Data set completion (complete.c, mvsfmt.[ch], zos_csi.s): - //'HLQ.PART, "//'HLQ.PART, //NAME (user HLQ), //'DSN(MEM, //DD:NAME complete one qualifier at a time from the Catalog Search Interface, PDS directories and the TIOT. - IGGCSI00 is called through HLASM glue that switches to AMODE 31 and keeps every register and parameter below the bar (VERIFY). - The work-area, directory and TIOT decoders are portable and run on Linux against a stand-in catalog that produces the real EBCDIC bytes, including CSI resume and directory-block splits; fuzzed with libFuzzer (make fuzz). - A lone completion inside quotes now closes the quote. Other z/OS features: - time [-p] keyword with shell/children CPU split. - set -o jobnames (_BPX_JOBNAME per command), set -o shareas (_BPX_SHAREAS=YES for foreground commands only), set -o msgid (ZSHnnnnE/W message IDs), ulimit -M (MEMLIMIT), ZOS_SYSNAME, ZOS_SYSPLEX, ZOS_RELEASE, ZOS_ASID, ZOS_JOBNAME, prompt \S. - BPXWDYN entry point for an alloc builtin to come. Checking z/OS code off z/OS: - make zos-lint compiles sys_zos.c against declarations transcribed from the z/OS headers, and the rest with the MVS paths forced on. - make mvs-asan runs the suite with the MVS paths on, under ASan/UBSan. - make asan and make valgrind now check for leaks.