diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-03-02 14:24:46 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-03-02 14:24:46 (GMT) |
commit | 5df52404bc6f6323ebf064b3d82b8e683de96eba (patch) | |
tree | d83cd5a7e6a40ce7dcfacf9106b32ea636b73963 /testpar | |
parent | 046e64a9bd725c5ba0bebef1ba7278445e391d25 (diff) | |
download | hdf5-5df52404bc6f6323ebf064b3d82b8e683de96eba.zip hdf5-5df52404bc6f6323ebf064b3d82b8e683de96eba.tar.gz hdf5-5df52404bc6f6323ebf064b3d82b8e683de96eba.tar.bz2 |
Misc. small cleanups to sync against incoming page buffering changes.
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_cache.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c index 0e69557..bfa4c8f 100644 --- a/testpar/t_cache.c +++ b/testpar/t_cache.c @@ -4334,8 +4334,7 @@ setup_cache_for_test(hid_t * fid_ptr, * *****************************************************************************/ static void -verify_writes(unsigned num_writes, - haddr_t * written_entries_tbl) +verify_writes(unsigned num_writes, haddr_t *written_entries_tbl) { const hbool_t report = FALSE; hbool_t proceed = TRUE; @@ -4361,13 +4360,10 @@ verify_writes(unsigned num_writes, } } - if ( proceed ) { - + if(proceed) proceed = verify_total_writes(num_writes); - } - while ( ( proceed ) && ( u < num_writes ) ) - { + while(proceed && u < num_writes) { proceed = verify_entry_writes(written_entries_tbl[u], 1); u++; } |