summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-23 11:21:11 -0600
committerSean Kurtz <seankurtz75@gmail.com>2026-11-23 11:21:11 -0600
commit46c97edd536ca5929a9b12470fc8ce091c6f8b57 (patch)
treedc5b5bd2efd95bc9acc65db8cc9072e64dcc3dfe
parent92fb4b12ac631ce5c794e5b5b29f204f34ab9e59 (diff)
downloadzash-fix/zos-spawn-fdmap.tar.gz
DESIGN: record what the z/OS run actually does nowfix/zos-spawn-fdmap
The paragraph said two signal tests fail under zos-heapcheck and pass under zos-check. With the fd map fixed, zos-check is green in full, and the heapcheck failure that remains is one intermittent case in scripts/signals, which passes when run on its own.
-rw-r--r--DESIGN.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/DESIGN.md b/DESIGN.md
index 4a2b2bf..b963974 100644
--- a/DESIGN.md
+++ b/DESIGN.md
@@ -465,11 +465,12 @@ build it with ibm-clang for both character sets (ASCII is `./zash`, the
build zopen uses, and EBCDIC is `./zash-ebcdic`), `tests/zos/*` drive spawn,
pipes, the environment handed to `spawn()`, tagging, TSO and the MVS
decoders there, and `make zos-heapcheck` runs the whole suite under LE
-`HEAPCHK` and `HEAPZONES`, the nearest thing z/OS has to ASan. In that
-mode two signal tests (`posix/traps`, `scripts/signals`) fail, because a
-self-`kill` no longer ends the shell the way it does under `zos-check`;
-they pass in `zos-check` and pass individually under the same run
-options, and they have not been rewritten to allow for the mode. What no
+`HEAPCHK` and `HEAPZONES`, the nearest thing z/OS has to ASan. Under
+`zos-check` the suite passes in full. Under `zos-heapcheck` one signal
+test, `scripts/signals`, fails now and then: the `kill -HUP $PPID` case
+sees `not-reached` where the run expects the HUP trap to fire, and the
+same test passes when run alone in either mode, so it is a race in
+delivering a signal from a grandchild, not a heap error. What no
test reaches is still marked `VERIFY` in the source:
- the tagging system calls: a deferred tag applied by a writer with