From 346849f44340e801228427b4783c03c8666f1978 Mon Sep 17 00:00:00 2001 From: jmmv Date: Mon, 30 Oct 2006 15:22:54 +0000 Subject: [PATCH] As pooka@ says, a rename has to change the file's ctime; make that explicit. --- regress/sys/fs/tmpfs/t_times | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regress/sys/fs/tmpfs/t_times b/regress/sys/fs/tmpfs/t_times index 186f18806994..cee66f98525f 100755 --- a/regress/sys/fs/tmpfs/t_times +++ b/regress/sys/fs/tmpfs/t_times @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: t_times,v 1.4 2006/10/30 15:08:09 jmmv Exp $ +# $NetBSD: t_times,v 1.5 2006/10/30 15:22:54 jmmv Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -102,6 +102,7 @@ test_run() { eval $(stat -s e | sed -e 's|st_|dst_|g') || die eval $(stat -s e/b) || die [ ${st_atime} -eq ${ost_atime} ] || die + [ ${st_ctime} -gt ${ost_ctime} ] || die [ ${st_mtime} -eq ${ost_mtime} ] || die [ ${dst_mtime} -gt ${dost_mtime} ] || die