Subject: Re: Bug in C02cont.ztst's -N test
From: Jason L Tibbitts III <[email-masked]>
To: Bart Schaefer <[email-masked]>
Cc: [email-masked]
Date: Fri, 29 Apr 2016 15:29:58 -0500
List-Id: Zsh Workers List <zsh-workers.zsh.org>

>>>>> "BS" == Bart Schaefer <[email-masked]> 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<