Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug in C02cont.ztst's -N test



>>>>> "BS" == Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> 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<



Messages sorted by: Reverse Date, Date, Thread, Author