@@ -11625,18 +11625,12 @@ gent_onion_1d_dset(void)
11625
11625
11626
11626
/* Setup */
11627
11627
onion_info .backing_fapl_id = H5Pcreate (H5P_FILE_ACCESS );
11628
- /* Force onion files to be generated via Native connector */
11629
- if (H5Pset_vol (onion_info .backing_fapl_id , H5VL_NATIVE , NULL ) < 0 )
11630
- goto error ;
11631
11628
11632
11629
if ((fapl_id = H5Pcreate (H5P_FILE_ACCESS )) < 0 )
11633
11630
goto error ;
11634
11631
if (H5Pset_fapl_onion (fapl_id , & onion_info ) < 0 )
11635
11632
goto error ;
11636
11633
11637
- /* Force onion files to be generated via Native connector */
11638
- if (H5Pset_vol (fapl_id , H5VL_NATIVE , NULL ) < 0 )
11639
- goto error ;
11640
11634
if ((paths = onion_filepaths_init (FILE90 )) == NULL )
11641
11635
goto error ;
11642
11636
@@ -11817,16 +11811,10 @@ gent_onion_create_delete_objects(void)
11817
11811
/* Set up */
11818
11812
if ((onion_info .backing_fapl_id = H5Pcreate (H5P_FILE_ACCESS )) < 0 )
11819
11813
goto error ;
11820
- /* Force onion files to be generated via Native connector */
11821
- if (H5Pset_vol (onion_info .backing_fapl_id , H5VL_NATIVE , NULL ) < 0 )
11822
- goto error ;
11823
11814
if ((fapl_id = H5Pcreate (H5P_FILE_ACCESS )) < 0 )
11824
11815
goto error ;
11825
11816
if (H5Pset_fapl_onion (fapl_id , & onion_info ) < 0 )
11826
11817
goto error ;
11827
- /* Force onion files to be generated via Native connector */
11828
- if (H5Pset_vol (fapl_id , H5VL_NATIVE , NULL ) < 0 )
11829
- goto error ;
11830
11818
11831
11819
if ((paths = onion_filepaths_init (FILE91 )) == NULL )
11832
11820
goto error ;
@@ -11843,17 +11831,6 @@ gent_onion_create_delete_objects(void)
11843
11831
for (int j = 0 ; j < 4 ; j ++ )
11844
11832
wdata [i ][j ] = i + j ;
11845
11833
11846
- /* Ensure that the onion file does not exist, to avoid tracking revisions across multiple test runs */
11847
- strcpy (onion_revfile_path , paths -> canon );
11848
- strcat (onion_revfile_path , ".onion" );
11849
-
11850
- if (access (onion_revfile_path , F_OK ) == 0 ) {
11851
- if (remove (onion_revfile_path ) != 0 ) {
11852
- printf ("Error: could not delete onion file %s\n" , onion_revfile_path );
11853
- goto error ;
11854
- }
11855
- }
11856
-
11857
11834
/*
11858
11835
* Create a new file using the default properties.
11859
11836
*/
@@ -12081,17 +12058,11 @@ gent_onion_dset_extension(void)
12081
12058
/* Setup */
12082
12059
if ((onion_info .backing_fapl_id = H5Pcreate (H5P_FILE_ACCESS )) < 0 )
12083
12060
goto error ;
12084
- /* Force onion files to be operated on via Native connector */
12085
- if (H5Pset_vol (onion_info .backing_fapl_id , H5VL_NATIVE , NULL ) < 0 )
12086
- goto error ;
12087
12061
if ((fapl_id = H5Pcreate (H5P_FILE_ACCESS )) < 0 )
12088
12062
goto error ;
12089
12063
12090
12064
if (H5Pset_fapl_onion (fapl_id , & onion_info ) < 0 )
12091
12065
goto error ;
12092
- /* Force onion files to be operated on via Native connector */
12093
- if (H5Pset_vol (fapl_id , H5VL_NATIVE , NULL ) < 0 )
12094
- goto error ;
12095
12066
12096
12067
if ((paths = onion_filepaths_init (FILE92 )) == NULL )
12097
12068
goto error ;
0 commit comments