diff options
Diffstat (limited to 'shells/zsh/files/patch-Test_C02cond.ztst')
-rw-r--r-- | shells/zsh/files/patch-Test_C02cond.ztst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/zsh/files/patch-Test_C02cond.ztst b/shells/zsh/files/patch-Test_C02cond.ztst new file mode 100644 index 000000000000..78da595b2439 --- /dev/null +++ b/shells/zsh/files/patch-Test_C02cond.ztst @@ -0,0 +1,11 @@ +--- Test/C02cond.ztst.orig 2015-11-22 15:17:55 UTC ++++ Test/C02cond.ztst +@@ -154,7 +154,7 @@ + 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 ++ elif { mount | grep $(df . 2>/dev/null| tail -n1 | awk '{print $1}') | grep -q noatime; } ; then + ZTST_skip="[[ -N file ]] not supported with noatime file system" + else + [[ -N $newnewnew && ! -N $unmodified ]] |