diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2012-02-26 18:54:52 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2012-02-26 18:54:52 +0000 |
| commit | 10082faced3fc848e34510e3b0a0bc5099df9cd5 (patch) | |
| tree | 4cf0f7fa0c34c475fcf9dffdda98bd2927d91a46 /Test | |
| parent | update to 4.3.17-dev-0 and fix year (diff) | |
| download | zsh-10082faced3fc848e34510e3b0a0bc5099df9cd5.tar zsh-10082faced3fc848e34510e3b0a0bc5099df9cd5.tar.gz zsh-10082faced3fc848e34510e3b0a0bc5099df9cd5.tar.bz2 zsh-10082faced3fc848e34510e3b0a0bc5099df9cd5.tar.lz zsh-10082faced3fc848e34510e3b0a0bc5099df9cd5.tar.xz zsh-10082faced3fc848e34510e3b0a0bc5099df9cd5.tar.zst zsh-10082faced3fc848e34510e3b0a0bc5099df9cd5.zip | |
30270: don't need errors when testing to see if mtime test will work
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/C02cond.ztst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst index 57427557f..494261ee3 100644 --- a/Test/C02cond.ztst +++ b/Test/C02cond.ztst @@ -139,7 +139,7 @@ elif [[ "$(find . -prune -fstype nfs 2>/dev/null)" == "." ]]; then print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported with NFS)" true - elif test -f /etc/mtab && { grep $(df . | tail -n1 | awk '{print $1}') /etc/mtab | grep -q noatime; }; then + 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 else |
