From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13211 invoked from network); 3 Apr 2021 11:33:10 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 3 Apr 2021 11:33:10 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1617449590; b=lJeVBNmfhBsxv3yzL56GMkgTWVZIW+sIn8CT61FgBkGTeeImp8JRBdo2S3cIQM0Td2/AfCqCMp ZLgsJ6SiuN+D2imUidPJzgljHDCcqmI/pWbYDg/RahHFepYlBRunuebMYszPT0fhISEIlYaWEZ oJdD2WALG3x/WEmhBGPFeBbo8NRpoX731DKSu3mROnmlboWeTpJ23n8o4UWRQCub7dLjYOpcRf /LriUSitf+XfBvFCpQpr845soSmTPeRBO6B8pm/qp9ykrnS2eexbzst1C+NRjpN+tPcgm1jLR7 XoVFqt0scfmthQZuVn6hJvGp6K38Y8za4jkl7ilBjqAbdg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f41.google.com) smtp.remote-ip=209.85.208.41; dmarc=none header.from=alumni.princeton.edu; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1617449590; bh=vUSpahEeeQP4I0Uz8ea3ENTw8ZNoeqf8cympod5+pFw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature; b=oRLfaEXzi7GZyJ0jkylIIlVstQAI1KmAKxWkFgSkPxgWFap5zQ4MQ4r+ywmSMRqFk1IglPmOxo GJVOXFgtgMTTs0NhH12MtcAEoETsjDfymnDs7UfPsMGNBaAbKbuWtinHsaByi7S3Fz3tEjEsnW Ekd0YWjU4yg7mBBCj9uSeFThj7CCtBfuA4RCwiFqloEp8bZfAUWg625YrWpTqhYNT8BqxCpGhp +1YooeWR+ad4xN+SuACFbReJyFYS3MMbPCSLjTLwXOuGyNfhc3cSZ9wxWGSnNJo0EGWo/6M9m1 xozR4BwjlaySoyjrIG0KcfOCCbsVMj27oF09r8ErujIbIw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=s/CeLnqItJKrBsOkEOmGQ/+muhB13vtdBC86ORMm+vo=; b=AdeMv07CLwsS60mlQ7iyiZntO/ SqYXe3Noqz4mYVzLT8935HYuEZ0yUHWTLSme6jOm+VHLS2CWrzeum7u2OffFJwBbWomXXtOOIVvPO bvizXdwGQimMcgF6OmZ7ctxZtTLZ0lQIXLT+DIK/srb886mizeLPKdnPQ2YoSzFPG+hZgJ+LUiVAN Q+aD+PArAmVmFuOHWGy8aH0mbRXE5SNdWrvnw17h8Vgl1F4kca7rfJ3GgentkQSxv5RxG4QRAW9bu ipGwMuRqhBqJpmJSW3VKGQm0mGsrVqrUJtJQrAfYPZs0jbP77cU63iNeXlGkr9cyZpEdxwSnPNRee sKh/fZQg==; Received: from authenticated user by zero.zsh.org with local id 1lSeWa-000Chu-Ju; Sat, 03 Apr 2021 11:33:08 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f41.google.com) smtp.remote-ip=209.85.208.41; dmarc=none header.from=alumni.princeton.edu; arc=none Received: from mail-ed1-f41.google.com ([209.85.208.41]:37379) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lSeWL-000CYM-K1; Sat, 03 Apr 2021 11:32:54 +0000 Received: by mail-ed1-f41.google.com with SMTP id x21so7806400eds.4 for ; Sat, 03 Apr 2021 04:32:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s/CeLnqItJKrBsOkEOmGQ/+muhB13vtdBC86ORMm+vo=; b=hV916Ntqmqn0Z9KZlOkmg2qUk7GWO7eiKO7W25ZhTwj9vVPVLiYF5jPc/rnw/zPZ5U Y2lsJg2sU+BIDPyu0IXUqZUhvb9jRQzjY/ZYuLpx86zqX/6Fm6Eauxlny25P/HVLct1K FOyapW/XMI8kLdv5GEDpfWHLoclFgl3+QkbiKaO0Jsf4vTzZ55C95wiIe1fb2RosBRK5 x6A3/cB5HiMdlwCau3kNThScmGtz+neeTeesi020CoVJy7Zvm936xlqA4MM5APaZMl6X M+SsIXnoDpL5Nf5GjUM6GkEvEGArwhdnQWXlBzJM5UbsUFc969CAxMEScefRKWNni+yF 3yUA== X-Gm-Message-State: AOAM530il/hZe/VvQ80ZeJ09i7bpSdKX6r+bWV/LXcSo4ul3ukZvxlcx 0+qXRbIv14rvOBQlCqbPN9T9dsjm89DfwaAPmGM= X-Google-Smtp-Source: ABdhPJzQbS3XbmN7UgX15AIIb+/xIlF6s2faxxnIWcNnkASMT7gEhWPdEp/BVaOJA4h1ZqD0hZl/QAfg7EUFFCStO+8= X-Received: by 2002:a05:6402:4386:: with SMTP id o6mr21611401edc.307.1617449573075; Sat, 03 Apr 2021 04:32:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vin Shelton Date: Sat, 3 Apr 2021 07:32:17 -0400 Message-ID: Subject: Re: Y01 Test Failure on Arch To: Jun T Cc: "Zsh Hackers' List" Content-Type: multipart/alternative; boundary="0000000000003ecc8805bf0fd3a7" X-Seq: 48381 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: --0000000000003ecc8805bf0fd3a7 Content-Type: text/plain; charset="UTF-8" Ping. The failure still occurs. HTH, Vin On Thu, Apr 1, 2021 at 12:05 AM Jun T wrote: > > > 2021/03/31 22:40, Vin Shelton wrote: > > > > Building from the latest sources on endeavouros (Arch): > (snip) > > Test ../../../src/zsh-2021-03-31/Test/Y01completion.ztst failed: output > differs from expected as shown above for: > > comptest $': *\t\t\t\t\t\t\t' > > Was testing: _expand shows file types > > Same in Ubuntu, Fedora and macOS. > > It seems we need to call complete-word instead of expand-or-complete, > and include _expand in the 'completer' style. > > The patch below works (all the test pass with the patch), but > I'm not sure this is the best solution. > > In the patch I simply replaced expand-or-complete by complete-word > in the function expand-or-complete-with-report() defined in comptest. > (Do we also need to change the function name etc.?) > --0000000000003ecc8805bf0fd3a7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ping.=C2=A0 The failure sti= ll occurs.

HTH,
=C2=A0 Vin

On Thu, Apr 1, 2021 at 12:05 AM Jun T <takimoto-j@kba.biglobe.ne.jp&g= t; wrote:

> 2021/03/31 22:40, Vin Shelton <acs@alumni.princeton.edu> wrote:
>
> Building from the latest sources on endeavouros (Arch):
(snip)
> Test ../../../src/zsh-2021-03-31/Test/Y01completion.ztst failed: outpu= t differs from expected as shown above for:
>=C2=A0 =C2=A0comptest $': *\t\t\t\t\t\t\t'
> Was testing: _expand shows file types

Same in Ubuntu, Fedora and macOS.

It seems we need to call complete-word instead of expand-or-complete,
and include _expand in the 'completer' style.

The patch below works (all the test pass with the patch), but
I'm not sure this is the best solution.

In the patch I simply replaced expand-or-complete by complete-word
in the function expand-or-complete-with-report() defined in comptest.
(Do we also need to change the function name etc.?)
--0000000000003ecc8805bf0fd3a7--