Subject: CVS commit: src/regress/sys/fs/tmpfs
To: None <source-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: source-changes
Date: 07/23/2007 12:51:36
Module Name: src
Committed By: jmmv
Date: Mon Jul 23 12:51:36 UTC 2007
Modified Files:
src/regress/sys/fs/tmpfs: t_rename
Log Message:
Add test cases to ensure that:
1) Renaming a directory to an empty directory works by replacing the target
directory.
2) Renaming a directory to a non-empty directory fails.
This is all by calling rename(2) directly, not mv(1).
tmpfs currently fails those tests, raising an assertion if DIAGNOSTIC is
enabled. A fix will hopefully follow soon.
Found by pooka@.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/regress/sys/fs/tmpfs/t_rename
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.