Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Qmail-Scanner-Diagnostics: from mail-pa0-f52.google.com by f.primenet.com.au (envelope-from <schaefer@brasslantern.com>, uid 7791) with qmail-scanner-2.11 
 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1.  
 Clear:RC:0(209.85.220.52):SA:0(0.0/5.0):. 
 Processed in 0.111885 secs); 11 Aug 2016 17:01:53 -0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID
	autolearn=unavailable autolearn_force=no version=3.4.1
X-Envelope-From: schaefer@brasslantern.com
X-Qmail-Scanner-Mime-Attachments: |
X-Qmail-Scanner-Zip-Files: |
Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:date:to:subject:mime-version;
        bh=+R5tMl/oeuIt3tKy36Y8rOelrwfbV1gHrbisXb6fa8E=;
        b=cHEQWQgNepv9g9HoVO8gJjGN77qYf7a9NklY+l/fsEa6kfju2fFBaNqwjWdfedSP1n
         KlgX+7Z2Jx1xQgwLs6rNgp8GA9ix3s/yTIQ0mYFo3Abj1R+T+PmyjIH8pzyFAfhtDNAk
         JDhDKeL9yHdTPyJob6fHoVJgmPi07ed+HP5q6YtuhRQYVf4NqyveWc82csSv9bT4RkIh
         OJdCC8wDSxidfr2ZKgI/BxDLdld0HoMdLjPama2AMgB5JF6RCQ6/+XMER2IJoG6ujIK7
         rdf1V+ESd8s3e6yO2xfPvFCMKaT2qVtdDu2hxmcWtM62YhSzFqgPdplyun5WlFx3Mvo3
         MnxQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:date:to:subject:mime-version;
        bh=+R5tMl/oeuIt3tKy36Y8rOelrwfbV1gHrbisXb6fa8E=;
        b=bWBe7Op3rDtO2Vc1bn52PGFwKG+NxNG0M4SRYkp1X8s0n/qsGk5NrDhMAGJeLqmw8V
         nYHFYJj4W+qeIMllPAyPib0M5KW8A0Gpsjpp/nQ0LRt/nwC+Jvs+zWj83iWk6GJCSwva
         i+bWaxCX8BS1JqoSvINNrHmct0ZOhiBdJn86VzH1QijkDmSESZips/hkN/v78UMxJ55Y
         hBZuFL3Ye/h4VvCXWBDJitMJEVLJ+DZQ03A6mqRBuq1iF7J8yUWYmMIKZ2lbpU7RfvQ1
         4m0Kn/5z0/5s2fDJ4VVeLRPT0fkN1+MaMbag4djsRlDClb69yueCIAhLxkt8r8jwZ6BC
         YTww==
X-Gm-Message-State: AEkoousWqEV3xKSjDHJggyvFja64b/ChTyHjFm5WqDR7XW9wYNC5QDLdzMassm/hUpW2KA==
X-Received: by 10.66.2.135 with SMTP id 7mr18555619pau.136.1470934450221;
        Thu, 11 Aug 2016 09:54:10 -0700 (PDT)
From: Bart Schaefer <schaefer@brasslantern.com>
Message-Id: <160811095407.ZM27468@torch.brasslantern.com>
Date: Thu, 11 Aug 2016 09:54:07 -0700
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
To: zsh-workers@zsh.org
Subject: What's the point of "=true" in this test?
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Seq: zsh-workers 39023

In Test/E01options.ztst, the line "foo4=bar7 =true":

  fn() {
    emulate -L zsh
    setopt warncreateglobal
    foo1=bar1
    unset foo1
    foo1=bar2
    local foo2=bar3
    unset foo2
    foo2=bar4
    typeset -g foo3
    foo3=bar5
    fn2() {
      foo3=bar6
    }
    foo4=bar7 =true
    (( foo5=8 ))
    integer foo6=9
    (( foo6=10 ))
  }
  fn
0:WARN_CREATE_GLOBAL option


This caused a spurious test failure for me because the "true" that was
found in my path was emitting debugging output (long story having to do
with tracking down a path-search issue in a different app).

I'm not exactly sure what to suggest here, except to note that most
other tests try to insulate themselves from the environment.  Is the
requirement in this case simply that an external command be run?

