summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Test/C02cond.ztst2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 29d2c386b..8f98a7cd5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-29 Barton E. Schaefer <schaefer@zsh.org>
+
+ * 38358: Test/C02cond.ztst: "fgrep --" for noatime check in case
+ a mount point is named "-" as in Fedora mock environment
+
2016-04-29 Peter Stephenson <p.stephenson@samsung.com>
* Sebastian: 38356: Src/Modules/curses.c, Doc/Zsh/mod_curses.yo:
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst
index 88cad0d64..f9fc185e9 100644
--- a/Test/C02cond.ztst
+++ b/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 { df -k -- ${$({mount || /sbin/mount} | awk '/noatime/ {print $1,$3}'):-""} | tr -s ' ' | fgrep "$(df -k . | tail -1 | tr -s ' ')" } >&/dev/null; then
+ elif { df -k -- ${$({mount || /sbin/mount} | awk '/noatime/ {print $1,$3}'):-""} | tr -s ' ' | fgrep -- "$(df -k . | tail -1 | tr -s ' ')" } >&/dev/null; then
ZTST_skip="[[ -N file ]] not supported with noatime file system"
else
[[ -N $newnewnew && ! -N $unmodified ]]