Module Name:    src
Committed By:   pooka
Date:           Mon Nov  1 14:04:02 UTC 2010

Modified Files:
        src/tests/fs/vfs: t_renamerace.c

Log Message:
Create the process we use later in the test.  Otherwise cwd doesn't
go right and the test fails because of attempting to create files
in the wrong directory.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tests/fs/vfs/t_renamerace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/fs/vfs/t_renamerace.c
diff -u src/tests/fs/vfs/t_renamerace.c:1.12 src/tests/fs/vfs/t_renamerace.c:1.13
--- src/tests/fs/vfs/t_renamerace.c:1.12	Wed Sep  1 19:41:28 2010
+++ src/tests/fs/vfs/t_renamerace.c	Mon Nov  1 14:04:02 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_renamerace.c,v 1.12 2010/09/01 19:41:28 pooka Exp $	*/
+/*	$NetBSD: t_renamerace.c,v 1.13 2010/11/01 14:04:02 pooka Exp $	*/
 
 /*
  * Modified for rump and atf from a program supplied
@@ -87,6 +87,9 @@
 	if (FSTYPE_MSDOS(tc))
 		atf_tc_skip("test fails in some setups, reason unknown");
 
+	RZ(rump_pub_lwproc_newproc());
+	RL(wrkpid = rump_sys_getpid());
+
 	RL(rump_sys_chdir(mp));
 	for (i = 0; i < NWRK; i++)
 		pthread_create(&pt1[i], NULL, w1, NULL);

Reply via email to