summaryrefslogtreecommitdiffstats
path: root/Test/C02cond.ztst
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-12-06 21:32:14 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2016-12-06 21:32:14 -0800
commit88d12b809a9f2111bb99ae339af51d0b78d4357f (patch)
treef0b7041cfac52ae95fe9b2f42c6312ead963a34e /Test/C02cond.ztst
parent40107: _mount, _fusermount: fix quoting (diff)
downloadzsh-88d12b809a9f2111bb99ae339af51d0b78d4357f.tar
zsh-88d12b809a9f2111bb99ae339af51d0b78d4357f.tar.gz
zsh-88d12b809a9f2111bb99ae339af51d0b78d4357f.tar.bz2
zsh-88d12b809a9f2111bb99ae339af51d0b78d4357f.tar.lz
zsh-88d12b809a9f2111bb99ae339af51d0b78d4357f.tar.xz
zsh-88d12b809a9f2111bb99ae339af51d0b78d4357f.tar.zst
zsh-88d12b809a9f2111bb99ae339af51d0b78d4357f.zip
40110: attempt to fix test failures on Solaris
B02typeset: ignore strerror text in test output, it differs by OS C02cond: discard stderr when looking for a path to the "mount" command
Diffstat (limited to 'Test/C02cond.ztst')
-rw-r--r--Test/C02cond.ztst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst
index 27a22593d..38525016c 100644
--- a/Test/C02cond.ztst
+++ b/Test/C02cond.ztst
@@ -146,7 +146,7 @@
# can't be bothered with -S
- if [[ ${mtab::="$({mount || /sbin/mount})"} = *[(]?*[)] ]]; then
+ if [[ ${mtab::="$({mount || /sbin/mount || /usr/sbin/mount} 2>/dev/null)"} = *[(]?*[)] ]]; then
print -u $ZTST_fd 'This test takes two seconds...'
else
unmodified_ls="$(ls -lu $unmodified)"