zsh-workers
 help / color / mirror / code / Atom feed
From: Felipe Contreras <felipec@infradead.org>
To: zsh-workers@zsh.org
Cc: Felipe Contreras <felipe.contreras@gmail.com>
Subject: [PATCH] bashcompinit: remove compgen test
Date: Mon, 30 Jan 2012 22:15:13 +0200	[thread overview]
Message-ID: <1327954513-12408-1-git-send-email-felipec@infradead.org> (raw)

From: Felipe Contreras <felipe.contreras@gmail.com>

The test was checking the wrong thing. I explained so in my mail[1].

[1] http://www.zsh.org/mla/workers/2012/msg00060.html

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 Test/.distfiles      |    1 -
 Test/Y04compgen.ztst |   21 ---------------------
 Test/compgentest     |   15 ---------------
 3 files changed, 0 insertions(+), 37 deletions(-)
 delete mode 100644 Test/Y04compgen.ztst
 delete mode 100644 Test/compgentest

diff --git a/Test/.distfiles b/Test/.distfiles
index 8a5d716..b0d2b17 100644
--- a/Test/.distfiles
+++ b/Test/.distfiles
@@ -43,7 +43,6 @@ V06parameter.ztst
 Y01completion.ztst
 Y02compmatch.ztst
 Y03arguments.ztst
-Y04compgen.ztst
 comptest
 runtests.zsh
 ztst.zsh
diff --git a/Test/Y04compgen.ztst b/Test/Y04compgen.ztst
deleted file mode 100644
index 90dce61..0000000
--- a/Test/Y04compgen.ztst
+++ /dev/null
@@ -1,21 +0,0 @@
-# Tests for bash compgen compatibility.
-
-%prep
-  if ( zmodload zsh/parameter ) >/dev/null 2>&1; then
-    . $ZTST_srcdir/compgentest
-    comptestinit -z $ZTST_testdir/../Src/zsh &&
-  else
-    ZTST_unimplemented="the zsh/parameter module is not available"
-  fi
-
-%test
-
-  comptest $': \t\t\t\t\t\t\t'
-0:bash compatibility: compgen -W
->abc
->abe
->ab
-
-%clean
-
-  zmodload -ui zsh/parameter
diff --git a/Test/compgentest b/Test/compgentest
deleted file mode 100644
index 26b202c..0000000
--- a/Test/compgentest
+++ /dev/null
@@ -1,15 +0,0 @@
-comptestinit () {
-  
-  setopt extendedglob
-  [[ -d $ZTST_testdir/Modules/zsh ]] && module_path=( $ZTST_testdir/Modules )
-
-  zmodload -i zsh/parameter || return $?
-  autoload -Uz bashcompinit || return $?
-  bashcompinit || return $?
-
-}
-
-comptest () {
-  compgen -W 'abc abe ab a def' ab
-}
-
-- 
1.7.8


                 reply	other threads:[~2012-01-30 20:54 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=1327954513-12408-1-git-send-email-felipec@infradead.org \
    --to=felipec@infradead.org \
    --cc=felipe.contreras@gmail.com \
    --cc=zsh-workers@zsh.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.
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).