diff options
-rwxr-xr-x | tests/misc/ls-time | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/misc/ls-time b/tests/misc/ls-time index 4419ec7aa..a99829480 100755 --- a/tests/misc/ls-time +++ b/tests/misc/ls-time @@ -41,6 +41,9 @@ touch -a -d "$u2" b || framework_failure_ # Make sure A has ctime at least 1 second more recent than C's. sleep 2 touch -a -d "$u1" a || framework_failure_ +# Updating the atime is usually enough to update the ctime, but on +# Solaris 10's tmpfs, ctime is not updated, so force an update here: +{ ln a a-ctime && rm a-ctime; } || framework_failure_ # A has ctime more recent than C. |