From b6cdbca9e111dc1b71471506d0258d0b9205761fee3c41c678664ebc044bda1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 21 Apr 2011 18:09:58 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=62 --- zsh-4.3.11-disable-c02cond-test.patch | 49 +++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 zsh-4.3.11-disable-c02cond-test.patch diff --git a/zsh-4.3.11-disable-c02cond-test.patch b/zsh-4.3.11-disable-c02cond-test.patch new file mode 100644 index 0000000..e1fffa2 --- /dev/null +++ b/zsh-4.3.11-disable-c02cond-test.patch @@ -0,0 +1,49 @@ +--- zsh-4.3.11-dev-2/Test/C02cond.ztst 2011-01-07 10:39:22.000000000 +0100 ++++ zsh-4.3.11-dev-2/Test/C02cond.ztst 2011-04-21 20:08:40.000000000 +0200 +@@ -129,26 +129,26 @@ + + # can't be bothered with -S + +- print -u $ZTST_fd 'This test takes two seconds...' +- sleep 2 +- cat unmodified +- touch newnewnew +- if [[ $OSTYPE == "cygwin" ]]; then +- print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported on Cygwin)" +- true +- elif [[ "$(find . -prune -fstype nfs 2>/dev/null)" == "." ]]; then +- print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported with NFS)" +- true +- else +- [[ -N newnewnew && ! -N unmodified ]] +- fi +-0:-N cond +-F:This test can fail on NFS-mounted filesystems as the access and +-F:modification times are not updated separately. The test will fail +-F:on HFS+ (Apple Mac OS X default) filesystems because access times +-F:are not recorded. Also, Linux ext3 filesystems may be mounted +-F:with the noatime option which does not update access times. +-F:Failures in these cases do not indicate a problem in the shell. ++# print -u $ZTST_fd 'This test takes two seconds...' ++# sleep 2 ++# cat unmodified ++# touch newnewnew ++# if [[ $OSTYPE == "cygwin" ]]; then ++# print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported on Cygwin)" ++# true ++# elif [[ "$(find . -prune -fstype nfs 2>/dev/null)" == "." ]]; then ++# print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported with NFS)" ++# true ++# else ++# [[ -N newnewnew && ! -N unmodified ]] ++# fi ++#0:-N cond ++#F:This test can fail on NFS-mounted filesystems as the access and ++#F:modification times are not updated separately. The test will fail ++#F:on HFS+ (Apple Mac OS X default) filesystems because access times ++#F:are not recorded. Also, Linux ext3 filesystems may be mounted ++#F:with the noatime option which does not update access times. ++#F:Failures in these cases do not indicate a problem in the shell. + + [[ newnewnew -nt zerolength && ! (unmodified -nt zerolength) ]] + 0:-nt cond