summaryrefslogtreecommitdiffstats
path: root/tools/h5copy/testh5copy.sh
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r22724] Convert tests to *.sh.in.Allen Byrne2012-08-281-560/+0
| | | | | | | | Convert configure.in to configure.ac. Align TESTS usage with autotools convention. Update all references from configure.in to configure.ac Tested: h5committest
* [svn-r22621] Purpose:Jonathan Kim2012-08-021-6/+18
| | | | | | | | | | | | | | | | HDFFV-8107 testh5diff will fail if build/test in HDF5 source tree Description: This is sub-task for "HDFFV-8105 testh5diff.sh uses the wrong operator (-a) in an if statement." From the HDFFV-8105's update, h5diff test failed if build&test is performed in HDF5 source tree because 'cp' try to copy test files to self dir. It's addressed by skipping if cp's src dir and dest dir is same. Also this applied for all other tools under src/tools dir. No change to the CMakeLists.txt files because CMake cautions/demands that in-source builds be avoided. Merged from HDF5 trunk r22617. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), some manual tests as well
* [svn-r21875] Purpose:Jonathan Kim2012-01-121-21/+12
| | | | | | | | | | | | | | HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools Stage2 working for h5copy tool. Description: Update cmake script to fetch test files from anywhere. Also keep the apperance similiar to shell script for better maintainance. some updated shell script. Merged from HDF5 trunk r21874 Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), Cmake (jam)
* [svn-r21064] Purpose:Jonathan Kim2011-07-011-24/+92
| | | | | | | | | | | Work for HDFFV-7602 - HDF5 command tools: Provide framework for reusable test files among tools Description: Merged from HDF5 trunk r21057 Provide framework to share test files among tools for tools test. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20772] Problem:Albert Cheng2011-05-071-1/+12
| | | | | | | | | | | | | | | | | Test scripts sometimes need to filter some system-specific messages from the actual output so that it can match the correct expected output. These filtering functions, ususally called "STDOUT_FILTER()" and "STDERR_FILTER()" were being repeated in individual test scripts. This becomes a maintenance problem and is error prone. Solution: Extract the two filter functions code to bin/output_filter.sh and then each test script sources it in. This allows reuse of coding and is much easier to maintain and to add new filtering. Tested: LLNL Zeus (linux64 cluster) and Dawndev (Blue-Gene cluster), both for serial mode only.
* [svn-r20478] remove duplicated -f option from a test case script.Jonathan Kim2011-04-111-1/+1
| | | | jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20279] Description:Jonathan Kim2011-03-181-2/+2
| | | | | | | | | | Merged from HDF5 trunk r20254. In test script, h5ls is used to verify for the result, so change the two tests like others. This is related to the previous checkin SVN r18400. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), cmake (jam)
* [svn-r20210] Purpose:Jonathan Kim2011-03-091-0/+9
| | | | | | | | | | | | | | Fix Bug 2120 - h5copy: improve to copy an object into same HDF file Description: Merged from HDF5 trunk r20203. Before the fix users can't copy an object (dataset or group) with different name if input file (-i) and output file (-o) is same. This feature would be useful to clone any object with different name and reuse contents. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), Cmake (jam)
* [svn-r19634] Purpose:Jonathan Kim2010-10-181-24/+86
| | | | | | | | | | | | Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option. Description: Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed. Merged from hdf5 trunk r19633. Tested: jam, amani
* [svn-r19603] Purpose:Jonathan Kim2010-10-141-79/+21
| | | | | | | | | | | Backout the previous change: (Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.) Description: Some failure occurred on talwit, so backout the changes and will put it back after the fix. (Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed. Merged from hdf5 trunk r19598.)
* [svn-r19599] Purpose:Jonathan Kim2010-10-141-21/+79
| | | | | | | | | | | Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option. Description: Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed. Merged from hdf5 trunk r19598. Tested: jam, amani
* [svn-r19401] Purpose:Jonathan Kim2010-09-161-4/+4
| | | | | | | | | | | Fix for Bug1975 h5diff - support recursive comparison on group when specified as an object Description: Merged from hdf5 trunk (r19400). Compare member objects and groups recursively when two files or groups are specified to be compared. Support parallel diff and handling symbolic links accordingly. Tested: jam, amani
* [svn-r18986] Test feature: (bugs 1919)Albert Cheng2010-06-081-1/+9
| | | | | | | | | | | | | | | | | Problem: some launching command like yod (and sometimes mpirun), do not pass back the exit code of the executables back to the shell. It always returns 0 if it can launch the executable. This cause tests that expect non-zero exit code to fail incorrectly. Short term Solution: Added the feature that if $RUNSERIAL_NOEXITCODE is defined, do not test conditions that rely on non-zero exit code. Tests: dove-linux using RUNSERIAL=thgyod to see the failures and using $RUNSERIAL_NOEXITCODE=yes to bypass the errors. Also h5committested.
* [svn-r18652] Description:Quincey Koziol2010-04-271-0/+1
| | | | | | | | | | | | Bring r18650 from trunk to 1.8 branch: Bring back various minor tweaks & cleanups from the revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode (h5committested on trunk)
* [svn-r18615] Purpose:Jonathan Kim2010-04-221-8/+4
| | | | | | | | | | | Fix for bug 1817 : h5copy fail to copy dangling link by specifying link path directly Description: Merged from hdf5 trunk r18614. Tested: jam, amani
* [svn-r18400] Purpose:Jonathan Kim2010-03-091-1/+60
| | | | | | | | | | | add test cases for h5copy - copy external links with/without ‘–f ext’ option (relate to bug 1733) Description: merged from hdf5 trunk (r18398 and r18399) Tested: jam
* [svn-r18330] Description:Jonathan Kim2010-02-241-1/+1
| | | | | | | | Fix to handle $srcdir for nightly test as well as local testing Merged from hdf5 18329. Tested: jam, amani and linew
* [svn-r18321] Purpose:Jonathan Kim2010-02-231-10/+41
| | | | | | | | | | | | | | Bug1727 - h5copy: add test cases for object and region references Note: merged from hdf5 trunk 18319 and 18320 File added: tools/h5copy/testfiles/h5copy_ref.out.ls tools/h5copy/testfiles/h5copy_ref.h5 Tested: jam
* [svn-r18053] Bug fix: 1192Albert Cheng2009-12-261-4/+9
| | | | | | | | Description: Fixed exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: H5committested plus serial test in Jam.
* [svn-r17607] ode Cleanup:Albert Cheng2009-10-071-12/+3
| | | | | | | | TFLOPS machine has retired long ago. Removed all code specific for its support. Test: h5committested.
* [svn-r15900] Make the h5copy test that renames a group to return 1 on the ↵Pedro Vicente Nunes2008-10-171-5/+68
| | | | | | | | h5diff call and assume 1 is the correct result Drop the -c flag for h5diff Tested: linux
* [svn-r15899] Extend the -c flag for ignore graph differences to ignore ↵Pedro Vicente Nunes2008-10-171-2/+3
| | | | | | | | different group names This is used in the h5copy test that compares renaming of groups Tested: linux
* [svn-r15896] Introduced a -c flag to ignore file contents differences in the ↵Pedro Vicente Nunes2008-10-161-1/+1
| | | | | | | | return value (return 0 id -c is present) Introduced for h5copy validation Tested: windows, linux
* [svn-r15891] Pedro Vicente Nunes2008-10-161-1/+1
| | | | | | | | | Make the h5diff call compare only the source and destination objects, otherwise if we attempt to compare the all file, h5diff returns 1 for differences Tested: linux -This line, and those below, will be ignored-- M tools/h5copy/testh5copy.sh
* [svn-r15759] move h5copy testfiles to /tools/h5copy/testfilesPedro Vicente Nunes2008-10-021-1/+1
| | | | tested: linux
* [svn-r14261] bug fix: new syntax for the h5diff call in the h5dopy shell scriptPedro Vicente Nunes2007-11-141-2/+2
| | | | tested: linux
* [svn-r13914] Description:Quincey Koziol2007-06-261-0/+10
| | | | | | | Clean up files generated during testing. Tested on: Linux/32 2.6 (chicago)
* [svn-r13306] Description:Quincey Koziol2007-02-141-1/+4
| | | | | | | | | | | Mask off the storage utilization for the h5ls output, so that the h5ls output is more portable (VL datatype size is reported as the memory size instead of the file size, making the storage utilization incorrect - entered in bugzilla) Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13303] Description:Quincey Koziol2007-02-141-1/+1
| | | | | | | | | Blank out the modification time, to eliminate another portability issue. Tested on: Linux/32 2.6 (chicago) FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13302] Description:Quincey Koziol2007-02-141-1/+1
| | | | | | | | Use the '-S' command line flag for h5ls, to make the output portable. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13301] Description:Quincey Koziol2007-02-141-26/+35
| | | | | | | | | | | Add '-p' flag to h5copy tool, to create intermediate "parent" groups that don't exist in destination file yet. Add more tests to h5copy script. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13299] Description:Quincey Koziol2007-02-141-10/+12
| | | | | | | | | | | | Put paths to testfile input & output directories in one place, making it easier to modify them if we choose to re-arrange our testfile locations in the future (this should probably be carried over to other test scripts). Make h5copy exit more cleanly if no command line parameters are given. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13297] Description:Quincey Koziol2007-02-141-6/+5
| | | | | | | | | | | | | | | | Add small 'h5mkgrp' tool to create groups in an HDF5 file from the command line, allowing the group structure for a file to be created in a script. This tool closely follows the 'mkdir' command line tool in UNIX/Linux. Allow tool library applications to pass a FAPL to the h5tool_fopen() call, giving some additional flexibility to tools which are adding objects to an existing HDF5 file (like h5copy & h5mkgrp). Fix missing files in MANIFEST from previous checkin(s). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13294] Description:Quincey Koziol2007-02-131-5/+22
| | | | | | | | | | | | Add empty & "full" groups to source HDF5 file and test copying them. Test renaming objects during copy Test specifying root group path for source & destination objects Tested on: Linux/32 2.6 (chicago) Too minor to require more tests
* [svn-r13293] Description:Quincey Koziol2007-02-131-18/+35
| | | | | | | | | | | Refactor h5copy testing script to abstract out some of the common behavior, obey the "HDF5_NOCLEANUP" environment variable, delete any output file left over from a previous run, add a "test variation" parameter to output file name for adding next sequence of test variations, etc. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13292] Description:Quincey Koziol2007-02-131-12/+64
| | | | | | | | | | | | | | | Add feature to h5copy to allow it to add an object to an existing file, instead of blowing away existing file. Modify h5tools_fopen() routine to take access flags, so it can be used to open an existing file for writing. Added check to h5copy test script that verifies it has produced a file with the correct structure. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13261] Updated copyright notices.Albert Cheng2007-02-071-2/+3
| | | | Tested: visual inspection as they are all just comments.
* [svn-r12772] Pedro Vicente Nunes2006-10-171-4/+8
| | | | added more tests for h5copy (compressed datasets, vl named datatypes )
* [svn-r12722] Pedro Vicente Nunes2006-10-051-2/+5
| | | | added new tests for h5copy script, generated in the test file generator program
* [svn-r12671] Pedro Vicente Nunes2006-09-181-1/+5
| | | | | | | added a test file generator program for h5copy, modified test script to use that file, added binary file to repo tested on heping, shanti
* [svn-r12665] Pedro Vicente Nunes2006-09-131-3/+5
| | | | added comments
* [svn-r12664] Pedro Vicente Nunes2006-09-131-17/+72
| | | | | modified the h5copy test script so that it calls h5diff to check the copied file/object
* [svn-r12626] Pedro Vicente Nunes2006-08-241-3/+2
| | | | | h5copy, new behavior according to RFC: introduction of -i, -o, -s , -d switches for file and object names
* [svn-r12522] h5copy was not able to find the source file because it was not ↵Albert Cheng2006-08-011-22/+21
| | | | | | | | | | | | | using the $srcdir properly. It is not right to chdir into testfiles and write files there because in real srcdir mode, one should not changes things in the srcdir area which could be shared by multiple builds simultanteously. Solution: added the proper $srcdir components to the source file name. Also clean up the indentation by cb. Tested: only by hand in heping.
* [svn-r12520] bug fixPedro Vicente Nunes2006-07-311-5/+9
| | | | | | added a call to h5tools_close tested: linux
* [svn-r12513] Pedro Vicente Nunes2006-07-281-6/+6
| | | | | new feature h5dump binary output. use little and big endian type conversions
* [svn-r12504] Pedro Vicente Nunes2006-07-271-6/+6
| | | | | | | | | | | | bug fix calling h5tools_get_fapl running the mpio driver caused H5FD_pl_copy to fail silently in some conditions. a MPI call was made before MPI_Init. solution: corrected the MPI call to be made after MPI_Init and added error return conditions to H5FD_pl_copy and h5tools_get_fapl tested on copper parallel, mir, shanti
* [svn-r12490] Pedro Vicente Nunes2006-07-211-6/+6
| | | | commented h5copy calls that are failing with mpicc compiler
* [svn-r12489] removed some whitespacePedro Vicente Nunes2006-07-211-12/+2
|
* [svn-r12486] added some tests to the h5copy shell scriptPedro Vicente Nunes2006-07-201-6/+24
| | | | tested: shanti, mir