diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-05-27 21:25:55 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2015-05-27 21:25:55 +0100 |
commit | cb596a55d921cb638a3cf0ede3ee60ae13728c10 (patch) | |
tree | 053e0e6dde41dcadb29f09a09fcba43dac02c004 /Test | |
parent | fd786a5c8abf1942a05ed8c470b06cc0b4aa5174 (diff) | |
download | zsh-cb596a55d921cb638a3cf0ede3ee60ae13728c10.tar.gz zsh-cb596a55d921cb638a3cf0ede3ee60ae13728c10.tar.xz zsh-cb596a55d921cb638a3cf0ede3ee60ae13728c10.zip |
35306: "test -z \(" failed due to parse confusion
Diffstat (limited to 'Test')
-rw-r--r-- | Test/C02cond.ztst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst index 6581b9d6b..02fa4d473 100644 --- a/Test/C02cond.ztst +++ b/Test/C02cond.ztst @@ -374,6 +374,20 @@ F:Failures in these cases do not indicate a problem in the shell. >foo is empty >foo is full + test -z \( || print Not zero 1 + test -z \< || print Not zero 2 + test -n \( && print Not zero 3 + test -n \) && print Not zero 4 + [ -n \> ] && print Not zero 5 + [ -n \! ] && print Not zero 6 +0:test with two arguments and a token +>Not zero 1 +>Not zero 2 +>Not zero 3 +>Not zero 4 +>Not zero 5 +>Not zero 6 + %clean # This works around a bug in rm -f in some versions of Cygwin chmod 644 unmodish |