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-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	autolearn_force=no version=3.4.1
From: Jason L Tibbitts III <tibbs@math.uh.edu>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-workers@zsh.org
Subject: Re: Bug in C02cont.ztst's -N test
References: <ufa1t5pl0yg.fsf@epithumia.math.uh.edu>
	<160429131027.ZM22749@torch.brasslantern.com>
Date: Fri, 29 Apr 2016 15:29:58 -0500
In-Reply-To: <160429131027.ZM22749@torch.brasslantern.com> (Bart Schaefer's
	message of "Fri, 29 Apr 2016 13:10:27 -0700")
Message-ID: <ufa4maki2ex.fsf@epithumia.math.uh.edu>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Seq: zsh-workers 38359

>>>>> "BS" == Bart Schaefer <schaefer@brasslantern.com> writes:

BS> This test has been changed as of 2015/12/31 so the newer test should
BS> be in zsh-5.2.  What version are you attempting to build?

5.2.  When I fetch and unpack a clean copy of
http://www.zsh.org/pub/zsh-5.2.tar.xz, zsh-5.2/Test/C02Cond.ztst
contains:

[...]
  print -u $ZTST_fd 'This test takes two seconds...'
  sleep 2
  cat $unmodified
  touch $newnewnew
  if [[ $OSTYPE == "cygwin" ]]; then
    ZTST_skip="[[ -N file ]] not supported on Cygwin"
  elif (( isnfs )); then
    ZTST_skip="[[ -N file ]] not supported with NFS"
  elif test -f /etc/mtab && { grep $(df . 2>/dev/null| tail -n1 | awk '{print $1}') /etc/mtab | grep -q noatime; }; then
    ZTST_skip="[[ -N file ]] not supported with noatime file system"
  else
    [[ -N $newnewnew && ! -N $unmodified ]]
  fi
0:-N cond
[...]

I'll pull the latest git and see if the test fares any better there.

 - J<

