summaryrefslogtreecommitdiffhomepage
path: root/tests
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 /tests
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
Diffstat (limited to 'tests')
-rw-r--r--tests/zos/zosvars.exp2
-rw-r--r--tests/zos/zosvars.sh6
2 files changed, 6 insertions, 2 deletions
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