zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: PATCH: minor tests cleanup and _zmodload patch
Date: Mon, 14 Aug 2000 14:49:04 +0400	[thread overview]
Message-ID: <000101c005dd$43775820$21c9ca95@mow.siemens.ru> (raw)

In case of completion tests ztst.zsh tried to remove test directory when child
command was still active and had it as current one. This is an error under
Cygwin (actually, NT, may be Win9x as well).

Patch adds %clean section that unloads zpty killing (hopefully) any child
command.

Small hunk for _zmodload just adds DLL to suffix list.

-andrej

Have a nice DOS!
B >>

Index: Completion/Builtins/_zmodload
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Builtins/_zmodload,v
retrieving revision 1.3
diff -u -r1.3 _zmodload
--- Completion/Builtins/_zmodload       2000/08/08 09:13:36     1.3
+++ Completion/Builtins/_zmodload       2000/08/14 10:44:59
@@ -10,7 +10,7 @@
   _tags files aliases
   while _tags; do
     _requested files expl 'module file' \
-      _files -W module_path -/g '*.s[ol](:r)' && ret=0
+      _files -W module_path -/g '*.(dll|s[ol])(:r)' && ret=0
     _requested aliases expl 'module alias' \
       compadd -- ${${(f)"$(zmodload -A)"}%% *} && ret=0
     (( ret )) || break
Index: Test/53completion.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/53completion.ztst,v
retrieving revision 1.7
diff -u -r1.7 53completion.ztst
--- Test/53completion.ztst      2000/07/17 10:36:00     1.7
+++ Test/53completion.ztst      2000/08/14 10:44:59
@@ -49,3 +49,7 @@
 >DI:{dir2}
 >FI:{file1}
 >FI:{file2}
+
+%clean
+
+  zmodload -ui zsh/zpty
Index: Test/54compmatch.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/54compmatch.ztst,v
retrieving revision 1.4
diff -u -r1.4 54compmatch.ztst
--- Test/54compmatch.ztst       2000/06/19 10:48:22     1.4
+++ Test/54compmatch.ztst       2000/08/14 10:44:59
@@ -510,4 +510,5 @@
 >COMPADD:{}

 %clean
-exit 0
+
+  zmodload -ui zsh/zpty
Index: Test/55arguments.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/55arguments.ztst,v
retrieving revision 1.2
diff -u -r1.2 55arguments.ztst
--- Test/55arguments.ztst       2000/07/27 13:06:19     1.2
+++ Test/55arguments.ztst       2000/08/14 10:44:59
@@ -144,3 +144,6 @@
 >NO:{abyyy}
 >NO:{abzzz}

+%clean
+
+  zmodload -ui zsh/zpty


                 reply	other threads:[~2000-08-14 10:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='000101c005dd$43775820$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.auc.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).