diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-03-18 03:16:40 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-03-18 03:16:40 (GMT) |
commit | 2315bc4ddadc452dbf7113940dfaaea8563efe06 (patch) | |
tree | 89bee7589967ea56a70d037a5f080162f69d8c0b /test/fheap.c | |
parent | 68385c1746a926f2ea876794f08622e919816e6b (diff) | |
download | hdf5-2315bc4ddadc452dbf7113940dfaaea8563efe06.zip hdf5-2315bc4ddadc452dbf7113940dfaaea8563efe06.tar.gz hdf5-2315bc4ddadc452dbf7113940dfaaea8563efe06.tar.bz2 |
[svn-r12118] Purpose:
Checkpoint code
Description:
Rework code to support increasing size of root indirect block, in order
to add [at least] a second row of direct blocks.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Solaris 9 (shanti) w/64-bit
Linux 2.4 (mir)
Diffstat (limited to 'test/fheap.c')
-rw-r--r-- | test/fheap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fheap.c b/test/fheap.c index 8afaf36..5c3a54c 100644 --- a/test/fheap.c +++ b/test/fheap.c @@ -950,7 +950,7 @@ test_abs_start_second_row(hid_t fapl) FAIL_STACK_ERROR if(!H5F_addr_defined(fh_addr)) FAIL_STACK_ERROR -#ifndef QAK +#ifdef QAK HDfprintf(stderr, "Fractal heap header address = %a\n", fh_addr); #endif /* QAK */ @@ -979,9 +979,9 @@ HDfprintf(stderr, "Fractal heap header address = %a\n", fh_addr); FAIL_STACK_ERROR /* Increment object count */ - nobjs++; + tot_nobjs++; - if(check_stats(f, H5P_DATASET_XFER_DEFAULT, fh_addr, (hsize_t)((STD_MAN_WIDTH + 1) * STD_MAN_START_BLOCK_SIZE), (hsize_t)((STD_MAN_WIDTH + 1) * STD_MAN_START_BLOCK_SIZE), (hsize_t)0, (hsize_t)983, (hsize_t)nobjs)) + if(check_stats(f, H5P_DATASET_XFER_DEFAULT, fh_addr, (hsize_t)((STD_MAN_WIDTH + 1) * STD_MAN_START_BLOCK_SIZE), (hsize_t)((STD_MAN_WIDTH + 1) * STD_MAN_START_BLOCK_SIZE), (hsize_t)0, (hsize_t)983, (hsize_t)tot_nobjs)) FAIL_STACK_ERROR PASSED() @@ -1040,7 +1040,7 @@ main(void) #else /* QAK */ HDfprintf(stderr, "Uncomment tests!\n"); #endif /* QAK */ -#ifdef QAK +#ifndef QAK nerrors += test_abs_start_second_row(fapl); #else /* QAK */ HDfprintf(stderr, "Uncomment tests!\n"); |