summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-29 12:39:01 -0600
committerGitHub <noreply@github.com>2026-11-29 12:39:01 -0600
commit9407e4f94496266bf382a4fc8a46a4131740af45 (patch)
tree12c115e612e1b83c1e73f6ef201909e46eeb9ced
parenta47d428362eb7d932f490190726a2a4811708ec8 (diff)
parent8da7811545dde7acb22bf61f233f257b06f3210f (diff)
downloadzash-0.5.0-beta.tar.gz
Merge pull request #51 from skurtz97/release/0.5.0-betav0.5.0-beta
Prepare 0.5.0-beta release: remove host refs, add CI badge, update zopen buildenv
-rw-r--r--README.md2
-rw-r--r--buildenv7
-rw-r--r--notes/review-2026-11-27.md2
-rw-r--r--tests/zos/zosvars.exp2
-rw-r--r--tests/zos/zosvars.sh6
-rw-r--r--web/layouts/home.html2
6 files changed, 16 insertions, 5 deletions
diff --git a/README.md b/README.md
index 4a257e0..d5fb884 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,8 @@
<p align="center">Sean Kurtz</p>
+[![CI](https://github.com/skurtz97/zash/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/skurtz97/zash/actions/workflows/ci.yml)
+
A small, fast POSIX shell for z/OS UNIX System Services, in the Almquist
(ash) tradition. zash aims to be for z/OS what FreeBSD's `sh` is for
FreeBSD: a lean, standards-following `/bin/sh` that is quick at running
diff --git a/buildenv b/buildenv
index 27e9718..8579fb9 100644
--- a/buildenv
+++ b/buildenv
@@ -2,11 +2,16 @@
#
# The source tree is the port: ZOPEN_TYPE=LOCAL builds this checkout instead
# of downloading a release, so `zopen build` and `make` see the same commit.
-ZASH_VERSION="0.1.0"
+ZASH_VERSION="0.5.0"
export ZOPEN_PROJECT_NAME="zash"
export ZOPEN_BUILD_LINE="DEV"
export ZOPEN_TYPE="LOCAL"
+# For a public standalone zopen port (instead of ZOPEN_TYPE=LOCAL):
+# export ZOPEN_STABLE_URL="https://github.com/skurtz97/zash.git"
+# export ZOPEN_STABLE_TAG="v0.5.0-beta"
+# export ZOPEN_DEV_URL="https://github.com/skurtz97/zash.git"
+export ZOPEN_RUNTIME_DEPS=""
# Build and test dependencies only (not runtime): tests/zos/tagging.sh uses
# gzip. Do not add coreutils here -- its altbin puts ASCII `cat` ahead of
# /bin/cat, which changes the EBCDIC external-writer test in zos/tagging.
diff --git a/notes/review-2026-11-27.md b/notes/review-2026-11-27.md
index 387dcc6..8c42f93 100644
--- a/notes/review-2026-11-27.md
+++ b/notes/review-2026-11-27.md
@@ -438,7 +438,7 @@ being read is safe (`tests/zash/alias-redefine.sh`; the memory side is covered b
a script that cannot be opened (127, 126) and for a read error while input is
being read (2, after the `EXIT` trap).
-### z/OS results (CBT, 2026-11-27)
+### z/OS results (2026-11-27)
Built and tested on the z/OS host with IBM make and IBM Open XL, in a copy of
the tree rather than in place: `tar` the tracked and untracked files, extract
diff --git a/tests/zos/zosvars.exp b/tests/zos/zosvars.exp
index ff7b847..8df54cf 100644
--- a/tests/zos/zosvars.exp
+++ b/tests/zos/zosvars.exp
@@ -4,5 +4,5 @@ jobname: 1 to 8 characters
release: two digits per field
asid: four hex digits
not exported
-inherited: CBT
+inherited: ignored
[status 0]
diff --git a/tests/zos/zosvars.sh b/tests/zos/zosvars.sh
index 4cf389c..6c07571 100644
--- a/tests/zos/zosvars.sh
+++ b/tests/zos/zosvars.sh
@@ -36,4 +36,8 @@ esac
# ZOS_SYSNAME handed in by a parent cannot outrank the one the shell
# computes for itself.
env | grep -q '^ZOS_' && echo "exported" || echo "not exported"
-echo "inherited: $(ZOS_SYSNAME=WRONG "$TSH" -c 'echo "$ZOS_SYSNAME"')"
+if [ "$(ZOS_SYSNAME=WRONG "$TSH" -c 'echo "$ZOS_SYSNAME"')" = "$ZOS_SYSNAME" ]; then
+ echo "inherited: ignored"
+else
+ echo "inherited: kept"
+fi
diff --git a/web/layouts/home.html b/web/layouts/home.html
index b26ca7a..a77c48b 100644
--- a/web/layouts/home.html
+++ b/web/layouts/home.html
@@ -18,7 +18,7 @@
<div class="term">
<div class="term-bar">
<span class="dot"></span><span class="dot"></span><span class="dot"></span>
- <span class="title">cbt: ~/src/zash &mdash; 10 000 command substitutions</span>
+ <span class="title">zos: ~/src/zash &mdash; 10 000 command substitutions</span>
</div>
<pre><code><span class="cmd">time dash -c 'i=0; while [ $i -lt 10000 ]; do x=$(echo hi); i=$((i+1)); done'</span>
<span class="out">real</span> 0m4.54s