From: "Randall S. Becker" <rsbecker@nexbridge.com>
To: <git@vger.kernel.org>
Subject: Report of use of "local" per t0000-basic.sh
Date: Fri, 22 Nov 2019 14:04:19 -0500 [thread overview]
Message-ID: <03ad01d5a167$a834e580$f89eb080$@nexbridge.com> (raw)
Hi All,
Based on the note in t0000-basic.sh below, I am just letting you know that I
have encountered a lack of support for the "local" on the z/OS 2.3 USS
platform except within a function. I thought you might want to know.
There are a other things that do not work, particularly preservation of the
value of $? across { } so test_eval_ does not work properly - I had to patch
it for the tests to catch non-zero completion codes. I had to move to bash
to get much of the test infrastructure. The other item that does not work is
the negative lazy prerequisites, so no tests that depend on that.
I am not contemplating submitting any patches for this situation at this
time because of other pretty significant encoding issues on the platform,
but thought the group might want to know about this.
Cheers,
Randall
-- Brief whoami:
NonStop developer since approximately 211288444200000000
UNIX developer since approximately 421664400
-- In my real life, I talk too much.
# This test is an experiment to check whether any Git users are using
# Shells that don't support the "local" keyword. "local" is not
# POSIX-standard, but it is very widely supported by POSIX-compliant
# shells, and if it doesn't cause problems for people, we would like
# to be able to use it in Git code.
#
# For now, this is the only test that requires "local". If your shell
# fails this test, you can ignore the failure, but please report the
# problem to the Git mailing list <git@vger.kernel.org>, as it might
# convince us to continue avoiding the use of "local".
test_expect_success 'verify that the running shell supports "local"' '
x="notlocal" &&
echo "local" >expected1 &&
try_local_x >actual1 &&
test_cmp expected1 actual1 &&
echo "notlocal" >expected2 &&
echo "$x" >actual2 &&
test_cmp expected2 actual2
'
next reply other threads:[~2019-11-22 19:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-22 19:04 Randall S. Becker [this message]
2019-11-23 4:16 ` Report of use of "local" per t0000-basic.sh brian m. carlson
2019-11-24 4:24 ` Junio C Hamano
2019-11-25 15:41 ` Randall S. Becker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='03ad01d5a167$a834e580$f89eb080$@nexbridge.com' \
--to=rsbecker@nexbridge.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).