[svn-r18266] Purpose:
bugzilla 1754: h5diff: support comparing through links.
(original check-in svn revision #18164)
Description:
fix the hang issue in parallel mode when compare external-link.
add --no-dangling-links option.
add test cases (#450-#459) relate to the new option.
improve test script to check exit code.
update --help relate to the new options.
correct some indentations.
Tested:
h5committest (jam, amani and linew)
This commit is contained in:
47
tools/h5diff/testfiles/h5diff_453.txt
Normal file
47
tools/h5diff/testfiles/h5diff_453.txt
Normal file
@@ -0,0 +1,47 @@
|
||||
|
||||
file1 file2
|
||||
---------------------------------------
|
||||
x x /
|
||||
x x /softlink_dset1_1
|
||||
x x /softlink_dset1_2
|
||||
x x /softlink_dset2
|
||||
x x /softlink_group1
|
||||
x x /softlink_group2
|
||||
x x /softlink_noexist
|
||||
x x /target_dset1
|
||||
x x /target_dset2
|
||||
x x /target_group
|
||||
x x /target_group/dset
|
||||
|
||||
group : </> and </>
|
||||
0 differences found
|
||||
link : </softlink_dset1_1> and </softlink_dset1_1>
|
||||
dataset: </softlink_dset1_1> and </softlink_dset1_1>
|
||||
0 differences found
|
||||
0 differences found
|
||||
link : </softlink_dset1_2> and </softlink_dset1_2>
|
||||
dataset: </softlink_dset1_2> and </softlink_dset1_2>
|
||||
0 differences found
|
||||
0 differences found
|
||||
link : </softlink_dset2> and </softlink_dset2>
|
||||
dataset: </softlink_dset2> and </softlink_dset2>
|
||||
0 differences found
|
||||
0 differences found
|
||||
link : </softlink_group1> and </softlink_group1>
|
||||
group : </softlink_group1> and </softlink_group1>
|
||||
0 differences found
|
||||
0 differences found
|
||||
link : </softlink_group2> and </softlink_group2>
|
||||
group : </softlink_group2> and </softlink_group2>
|
||||
0 differences found
|
||||
0 differences found
|
||||
Warning: </softlink_noexist> is a dangling link.
|
||||
dataset: </target_dset1> and </target_dset1>
|
||||
0 differences found
|
||||
dataset: </target_dset2> and </target_dset2>
|
||||
0 differences found
|
||||
group : </target_group> and </target_group>
|
||||
0 differences found
|
||||
dataset: </target_group/dset> and </target_group/dset>
|
||||
0 differences found
|
||||
EXIT CODE: 2
|
||||
Reference in New Issue
Block a user