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

Re: PATCH: prompt escape tests



In article <200002020834.JAA09905@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
  Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:

> I wanted to mention that again anyway... A collegue noticed this for
> some newer Solaris version, too: nowadays some systems don't update
> the atime inode field anymore when a file is read, which makes the -N
> condition test fail.

Z:akr@thorax% uname
Linux
Z:akr@thorax% df .
Filesystem           1k-blocks      Used Available Use% Mounted on
crane:/ldl3            3939604   1660770   2274895  42% /amd/crane/root/ldl3
Z:akr@thorax% make check
...
Test ./07cond.ztst failed: bad status 1, expected 0 from:
  cat unmodified
  touch newnewnew
  [[ -N newnewnew && ! -N unmodified ]]
Was testing: -N cond
./07cond.ztst: test failed.
...

This problem is not Solaris specific and can be reproduced on Linux.
I think it is caused by NFS.
-- 
Tanaka Akira



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