Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/fs/vfs Adjust t_renamerace now that ext2fs and ffs hav...
details: https://anonhg.NetBSD.org/src/rev/19ed51e03567
branches: trunk
changeset: 779186:19ed51e03567
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed May 09 00:22:26 2012 +0000
description:
Adjust t_renamerace now that ext2fs and ffs have good rename.
diffstat:
tests/fs/vfs/t_renamerace.c | 16 +++-------------
1 files changed, 3 insertions(+), 13 deletions(-)
diffs (40 lines):
diff -r 0901a2b85d86 -r 19ed51e03567 tests/fs/vfs/t_renamerace.c
--- a/tests/fs/vfs/t_renamerace.c Wed May 09 00:21:17 2012 +0000
+++ b/tests/fs/vfs/t_renamerace.c Wed May 09 00:22:26 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_renamerace.c,v 1.25 2012/02/16 02:47:56 perseant Exp $ */
+/* $NetBSD: t_renamerace.c,v 1.26 2012/05/09 00:22:26 riastradh Exp $ */
/*
* Modified for rump and atf from a program supplied
@@ -129,13 +129,9 @@
atf_tc_skip("rename not supported by file system");
/* XXX: msdosfs also sometimes hangs */
- if (FSTYPE_EXT2FS(tc) || FSTYPE_MSDOS(tc))
+ if (FSTYPE_MSDOS(tc))
atf_tc_expect_signal(-1, "PR kern/43626");
- /* XXX: unracy execution not caught */
- if (FSTYPE_P2K_FFS(tc))
- atf_tc_expect_fail("PR kern/44336"); /* child dies */
-
RZ(rump_pub_lwproc_rfork(RUMP_RFCFDG));
RL(wrkpid = rump_sys_getpid());
@@ -154,14 +150,8 @@
* Doesn't always trigger when run on a slow backend
* (i.e. not on tmpfs/mfs). So do the usual kludge.
*/
- if (FSTYPE_EXT2FS(tc) || FSTYPE_MSDOS(tc))
+ if (FSTYPE_MSDOS(tc))
abort();
-
- if (FSTYPE_P2K_FFS(tc)) {
- /* XXX: some races may hang test run if we don't unmount */
- puffs_fstest_unmount(tc, mp, MNT_FORCE);
- atf_tc_fail("problem did not trigger");
- }
}
ATF_TC_FSAPPLY(renamerace, "rename(2) race with file unlinked mid-operation");
Home |
Main Index |
Thread Index |
Old Index