aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-23 11:58:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-23 11:58:55 +0200
commit85804b86a97e6275fa015c130f382043d52503fa (patch)
tree650fbd17f670d551dfcf2fc86ec4e7eda0867e08
parent2c67d8c6bb8d0fb8480a7e71316240d38a048ab7 (diff)
Add note that access time tests may fail with if running on noatime mount
For example, this happens on NetBSD.
-rw-r--r--tests/entry-time/testscript3
-rw-r--r--tests/path-entry/testscript3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/entry-time/testscript b/tests/entry-time/testscript
index 63e1545..2ae59d2 100644
--- a/tests/entry-time/testscript
+++ b/tests/entry-time/testscript
@@ -39,6 +39,9 @@ t = ($cxx.target.class != 'macos' ? 1521456316789 : 1521456316000)
: access
:
{
+ # Note that these tests may fail if running on a mount with noatime (for
+ # example, this happens on NetBSD).
+ #
test.options += -a
: dir
diff --git a/tests/path-entry/testscript b/tests/path-entry/testscript
index 1d6911f..16039fa 100644
--- a/tests/path-entry/testscript
+++ b/tests/path-entry/testscript
@@ -1,6 +1,9 @@
# file : tests/path-entry/testscript
# license : MIT; see accompanying LICENSE file
+# Note that atime tests may fail if running on a mount with noatime (for
+# example, this happens on NetBSD).
+
: existing
:
{