[PVFS2-CVS] commit by pcarns in pvfs2/test/correctness/pts: create.c pvfs-helper.c pvfs-helper.h test-null-params.c

CVS commit program cvs at parl.clemson.edu
Mon Mar 8 17:06:38 EST 2004


Update of /projects/cvsroot/pvfs2/test/correctness/pts
In directory parlweb:/tmp/cvs-serv21513/test/correctness/pts

Modified Files:
	create.c pvfs-helper.c pvfs-helper.h test-null-params.c 
Log Message:
renamed pvfs_mntlist -> PVFS_util_tab, also renamed some of its fields.
This is going to look a little weird until some other updates catch up...


Index: create.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/correctness/pts/create.c,v
diff -p -u -r1.24 -r1.25
--- create.c	8 Mar 2004 20:30:46 -0000	1.24
+++ create.c	8 Mar 2004 22:06:38 -0000	1.25
@@ -159,13 +159,13 @@ int test_create(MPI_Comm * comm,
 		void *params)
 {
     int ret = -1;
-    pvfs_mntlist mnt = { 0, NULL };
+    PVFS_util_tab tab = { 0, NULL };
     generic_params *myparams = (generic_params *) params;
     char name[PVFS_NAME_MAX];
     int i, nerrs = 0;
 
     /* Parse PVFStab */
-    ret = PVFS_util_parse_pvfstab(NULL, &mnt);
+    ret = PVFS_util_parse_pvfstab(NULL, &tab);
     if (ret < 0)
     {
 	printf("Parsing error\n");

Index: pvfs-helper.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/correctness/pts/pvfs-helper.c,v
diff -p -u -r1.26 -r1.27
--- pvfs-helper.c	8 Mar 2004 20:30:46 -0000	1.26
+++ pvfs-helper.c	8 Mar 2004 22:06:38 -0000	1.27
@@ -12,11 +12,11 @@ int initialize_sysint(void)
 
     memset(&pvfs_helper,0,sizeof(pvfs_helper));
 
-    ret = PVFS_util_parse_pvfstab(NULL, &pvfs_helper.mnt);
+    ret = PVFS_util_parse_pvfstab(NULL, &pvfs_helper.tab);
     if (ret > -1)
     {
         /* init the system interface */
-        ret = PVFS_sys_initialize(pvfs_helper.mnt, 0,
+        ret = PVFS_sys_initialize(pvfs_helper.tab, 0,
                                   &pvfs_helper.resp_init);
         if(ret > -1)
         {

Index: pvfs-helper.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/correctness/pts/pvfs-helper.h,v
diff -p -u -r1.10 -r1.11
--- pvfs-helper.h	20 Oct 2003 19:16:48 -0000	1.10
+++ pvfs-helper.h	8 Mar 2004 22:06:38 -0000	1.11
@@ -22,7 +22,7 @@ typedef struct
 {
     int initialized;
     int num_test_files;
-    pvfs_mntlist mnt;
+    PVFS_util_tab tab;
     PVFS_sysresp_init resp_init;
 } pvfs_helper_t;
 

Index: test-null-params.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/correctness/pts/test-null-params.c,v
diff -p -u -r1.30 -r1.31
--- test-null-params.c	8 Mar 2004 20:30:46 -0000	1.30
+++ test-null-params.c	8 Mar 2004 22:06:38 -0000	1.31
@@ -38,13 +38,13 @@ static int test_system_init(int nullCase
 
     memset(&pvfs_helper, 0, sizeof(pvfs_helper));
 
-    ret = PVFS_util_parse_pvfstab(NULL, &pvfs_helper.mnt);
+    ret = PVFS_util_parse_pvfstab(NULL, &pvfs_helper.tab);
     if (ret > -1)
     {
 	/* init the system interface */
 	if (nullCase == 2)
 	{
-	    ret = PVFS_sys_initialize(pvfs_helper.mnt,
+	    ret = PVFS_sys_initialize(pvfs_helper.tab,
                                       GOSSIP_CLIENT_DEBUG, NULL);
 	}
 	if (ret > -1)



More information about the PVFS2-CVS mailing list