summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r13745] Description:Quincey Koziol2007-05-101-5/+13
| | | | | | | | | | | | Take further advantage of the readers/writer locking in the metadata cache and push the locking of the local heap up to the routines which call B-tree routines, which should drastically lower the number of metadata cache protect/ unprotect calls. Tested on: Mac OS X/32 10.4.9 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13741] Description:Quincey Koziol2007-05-101-16/+19
| | | | | | | | | Minor formatting & warning reduction code cleanups Tested on: Mac OS X/32 10.4.9 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13721] Description:Quincey Koziol2007-05-015-150/+295
| | | | | | | | | | | | | Add "fail if unknown" and "mark if unknown" flags to object header messages. This gives the library a clean way to tell older libraries that a message should not be just ignored if it's unknown, but that other actions should occur. Tested on: Mac OS X/32 10.4.9 (amazon) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13714] Fix memory leak on objcopy.c testPeter Cao2007-04-301-0/+6
| | | | | H5Premove(dcpl, H5D_CRT_EXT_FILE_LIST_NAME) causes memory leak. Use new function H5P_reset_external_file_test(dcpl) instead.
* [svn-r13705] Change to getname.c so that when tests query the name of a ↵Christian Chilan2007-04-271-20/+20
| | | | dereferenced object, they do not expect the name length to count the null terminator.
* [svn-r13697] Fixed error in check_unprotect_ro_dirty_err() in cache.c. ↵John Mainzer2007-04-241-4/+6
| | | | | | | | | Basic problem was a failure to clean up properly after a test. I reproduced the failure on Phoenix before fixing it. As the error was relatively straight forward, I tested fix on Phoenix only.
* [svn-r13694] 1. changed the HDlseek to be lseek64 and HDfseek to be fseeko ↵Raymond Lu2007-04-231-4/+56
| | | | | | | | | if available, to support big files. 2. added a check in test/big.c to make sure the system supports big file. Tested on smirom because already tested the same changes for v1.6 on liberty, smirom, copper, and sol.
* [svn-r13691] Description:Quincey Koziol2007-04-211-0/+2
| | | | | | | Comment out cache test until John can take a look at it. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13690] Description:Quincey Koziol2007-04-193-8/+1
| | | | | | | | | | | | | Fully enable readers/writer locking in metadata cache and correct errors in cache clients which were modifying a cache entry while only holding a read lock on it. Tested on: Mac OS X/32 10.4.9 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty)
* [svn-r13650] Description:Quincey Koziol2007-04-121-7/+7
| | | | | | | | Clean up problems from error handling API changes in parallel and threadsafe builds. Tested on: FreeBSD/64 6.2 (liberty) w/parallel & threadsafe
* [svn-r13648] Description:Quincey Koziol2007-04-1210-190/+171
| | | | | | | | | | Rename new error handling API routines from H5E<foo>_stack() to H5E<foo>2(). Tested on: Mac OS X/32 10.4.9 (amazon) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty)
* [svn-r13639] Description:Quincey Koziol2007-04-111-7/+10
| | | | | | | Accomodate changes in error stack for recent library code changes. Tested on: Linux/64 2.6 (chicago2) w/threadsafe
* [svn-r13636] Description:Quincey Koziol2007-04-115-192/+111
| | | | | | | | | | | | | | Change H5[D|G|T]<foo>_expand() "temporary" API routines to H5[D|G|T]<foo>2() "versioned" routines. Also added H5[D|G|T](create|commit)_anon() routines to continue to allow "anonymous" objects to be created in a file. Tested on: Mac OS X/32 10.4.9 (amazon) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13634] Description:Quincey Koziol2007-04-111-12/+2
| | | | | | | | Remove a "//" comment from John's recent changes and clean up a few warnings. Tested on: Mac OS X/32 10.4.9 (amazon)
* [svn-r13618] Modified metadata cache to support multiple read only protects of John Mainzer2007-04-093-7/+978
| | | | | | | | | | cache entries. Added test code to test the new feature. Also some minor cleanum h5committested -- passed on copper and sol. Failed on osage with a configuration error that appears unrelated to my changes. Serial test (debug mode) passes on Phoenix (Linux x86 2.6 kernel), so I went ahead with the checkin.
* [svn-r13616] This check-in updates the bin/reconfigure file to point to the ↵Mike McGreevy2007-04-091-177/+165
| | | | | | | | most recent versions of the autotools. Updated autotool versions are: autoconf 2.61, automake 1.10.0, and libtool 1.5.22. Tested on kagiso.
* [svn-r13605] Add big file test for SEC2.Raymond Lu2007-04-061-0/+19
|
* [svn-r13596] Update document and comments. No test needed.Raymond Lu2007-04-051-1/+3
|
* [svn-r13595] Add the macro check of H5_HAVE_FSEEKO for STDIO test. Without itRaymond Lu2007-04-051-1/+2
| | | | | | there'll be no big file support. Tested on smirom because it's a simple change.
* [svn-r13588] A support of files bigger than 2GB for STDIO driver. Configure ↵Raymond Lu2007-04-044-27/+46
| | | | | | | | will check if fseeko is available. Using it instead of fseek can support big files because the offset is of type off_t not long int. Also added the test for STDIO in big.c.
* [svn-r13580] Description:Quincey Koziol2007-04-036-135/+135
| | | | | | | | | | | | Add version # and flags to external link format (as fields in a single byte), in order to accomodate future changes/expansions. Tested on: Mac OS X/32 10.4.9 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty)
* [svn-r13570] Description:Quincey Koziol2007-03-301-0/+156
| | | | | | | | Fix error when eliminating empty chunk from "middle" of list of chunks for an object header. Tested on: Mac OS X/32 10.4.9 (amazon)
* [svn-r13549] Description:Quincey Koziol2007-03-278-108/+111
| | | | | | | | | Check in changes from Elena and I to get pgcc compiler working again. Primarily (all?) changes to move from using 'hsize_t' as array index to using something else ('size_t') mostly. Tested on: Linux/32 2.4 kagiso w/pgcc
* [svn-r13548] Tests that write/read on randomly selected chunks to check for ↵Christian Chilan2007-03-271-1/+236
| | | | potential problem in b-tree code. Tests passed on smirom, cobalt, and copper.
* [svn-r13544] Some minor adjustment from last round of checkin. Tested on kagisoRaymond Lu2007-03-261-1/+1
| | | | only because the changes are simple.
* [svn-r13542] Added a detection for zero-length VL data in H5T_conv_vlen to ↵Raymond Lu2007-03-262-28/+48
| | | | | | handle the case properly. This fix was discovered by the user while Bug #717 was being fixed. Modefied the test, too.
* [svn-r13535] Included test of reference with value 100 that was skipped ↵Christian Chilan2007-03-221-3/+0
| | | | previously.
* [svn-r13531] When a dataset is created and no data is written, but fill ↵Raymond Lu2007-03-201-1/+190
| | | | | | | | | | | | value is defined, if there's VL type of data in the dataset, the address of the data is copied multiple times into the buffer, causing some trouble when the data is released. Instead, this checkin makes multiple copies of fill value first, then does conversion on each element so that each of them has a copy of the VL data. A test is added, too. Tested it on kagiso, sol, and copper.
* [svn-r13520] Description:Quincey Koziol2007-03-161-0/+7
| | | | | | | | | Added H5Lexists() API routine, which determines if a link of a particular name exists in a group. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13517] To deal with the situation that compiler supports direct I/O ↵Raymond Lu2007-03-151-2/+9
| | | | | | but file system doesn't, added a condition check of writing aligned data. Skip the test for direct VFD if it's this situation.
* [svn-r13515] Problem:Albert Cheng2007-03-151-10/+3
| | | | | | | | reference test object reference failed if faked address is 100. Skipped this test for now. Also removed the incorrected added COMPAT_1.4 parts. Tested in kagiso.
* [svn-r13514] Tests added to verify that H5Rget_obj_type executes properly ↵Christian Chilan2007-03-141-2/+26
| | | | when called with non-valid references.
* [svn-r13512] Correct the typos where some "=="s should be "!="s.Raymond Lu2007-03-141-8/+8
|
* [svn-r13501] Suppress the compiler warning about the equality comparison of ↵Raymond Lu2007-03-127-40/+64
| | | | floating-point values.
* [svn-r13498] Description:Quincey Koziol2007-03-125-4/+4
| | | | | | | | | Eliminate storing # of links in "link info" message, regenerate it when the object is opened instead. Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13497] Description:Quincey Koziol2007-03-114-59/+43
| | | | | | | | | | | | | | | | | | Move ref. count of # of links to an object out of the object header's prefix and make it a header message instead (since it's a "rare" occurence), eliminating some more space for each object in the file. Inserting this "ref. count" message exposed a flaw in the library's mechanism for locating a message to promote to another chunk and replace with a continuation message, which required some additional work to fix. It's still not completely robust, but it's working for more cases now and detects failures robustly. Reduced the minimum size of an object header chunk to just enough to contain a header message prefix and continuation message. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13496] Description:Quincey Koziol2007-03-115-5/+5
| | | | | | | Reduce size of "default" link message storage. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13493] Description:Quincey Koziol2007-03-111-4/+4
| | | | | | | Eliminate storing default values for "group info" fields. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13491] Description:Quincey Koziol2007-03-101-4/+4
| | | | | | | | Reduce the size of the value used to store the # of bytes in the "payload" for chunk 0 of an object header. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13490] Description:Quincey Koziol2007-03-101-4/+4
| | | | | | | | | | | | Move "creation order tracked" flag from "group info" to "link info" object header message and make the "max. creation order value" optional in the "link info", if the creation order for links is not tracked. Also, get rid of unused "index names" flag - names are always indexed currently. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13489] Description:Quincey Koziol2007-03-101-10/+20
| | | | | | | | Make certain to use the later version of the object header format if creation order is tracked on attributes. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13488] Description:Quincey Koziol2007-03-104-19/+4
| | | | | | | | | Remove unused "min. creation order" field from link info object header message. Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13487] Description:Quincey Koziol2007-03-101-4/+4
| | | | | | | | | Eliminate message count from new version of object header prefix - it can be computed when the header is loaded and the table of messages is built. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13486] Description:Quincey Koziol2007-03-102-5/+4
| | | | | | | | | Move attribute tracking information out of object header prefix and make it into a message that is inserted only when attributes are present on the object. Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13477] Description:Quincey Koziol2007-03-085-34/+57
| | | | | | | | | | | | | | | | | | | | The main purpose of this checkin was to eliminate the space used for tracking creation time indices when there is no way they can be used (i.e. attributes can't be shared in the file and the user hasn't turned on attribute creation tracking), however there were some other minor changes which crept in: - Fix a cache locking deadlock when a shared attribute and one of its components end up in the same fractal heap direct block. (This is fixed the "slow" way for right now, until John has time to add support for readers/writer locking to the cache. - Optimize attribute copying when a copy will be kept during a v2 B-tree search. - When freeing a block on disk, attempt to merge it with the metadata and "small data" aggregators. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
* [svn-r13471] Description:Quincey Koziol2007-03-061-4/+4
| | | | | | | | Fix a couple of expected size values that were missed earlier. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13465] Description:Quincey Koziol2007-03-061-2/+87
| | | | | | | | | | | | Fix bug in external links when "strong" file close degree is used. Make external link callbacks use standard error reporting mechanisms. Other minor code cleanups... Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
* [svn-r13458] Adding copying reg_ref attributes to the testPeter Cao2007-03-051-2/+76
|
* [svn-r13449] Description:Quincey Koziol2007-03-041-27/+194
| | | | | | | | | | | | | Add object creation property (H5P[s|g]et_obj_track_times) to disable storing timestamps on objects, which makes the object's header size smaller. Also, added object header status flags to H5O_info_t struct (for H5Oget_info/H5Oget_info_by_idx) and cleaned up other field names in the struct as well. Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13440] Description:Quincey Koziol2007-03-014-0/+0
| | | | | | | | | | | | | | | | | | | Revise latest form of superblock format pretty drastically, to eliminate unused fields and move rarely used fields into superblock extension. Finished removing last vestiges of references to (never used) i"shared" object header message ID. Added object header messages for non-default v1 B-tree 'K' values and for driver info. Updated testfiles to reflect size changes, etc. Various minor cleanups, etc. Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)