diff options
author | Peter Stephenson <pws@zsh.org> | 2015-07-10 14:47:19 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-07-10 14:47:19 +0100 |
commit | 9152ff3b46a167e2ad7a1fb8a8cef313b45b456b (patch) | |
tree | 719b3c74b5c0d405ef138dc3a6ccfb22327e0604 /Test/C02cond.ztst | |
parent | 2833299312dc3600849bd82ae7b93f5538cc10bb (diff) | |
download | zsh-9152ff3b46a167e2ad7a1fb8a8cef313b45b456b.tar.gz zsh-9152ff3b46a167e2ad7a1fb8a8cef313b45b456b.tar.xz zsh-9152ff3b46a167e2ad7a1fb8a8cef313b45b456b.zip |
35760: Add ZTST_skip to test system
Diffstat (limited to 'Test/C02cond.ztst')
-rw-r--r-- | Test/C02cond.ztst | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst index 02fa4d473..e9a596a22 100644 --- a/Test/C02cond.ztst +++ b/Test/C02cond.ztst @@ -151,14 +151,11 @@ cat $unmodified touch $newnewnew if [[ $OSTYPE == "cygwin" ]]; then - print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported on Cygwin)" - true + ZTST_skip="[[ -N file ]] not supported on Cygwin" elif (( isnfs )); then - print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported with NFS)" - true + 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 - print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported with noatime file system)" - true + ZTST_skip="[[ -N file ]] not supported with noatime file system" else [[ -N $newnewnew && ! -N $unmodified ]] fi |