summaryrefslogtreecommitdiffstats
path: root/test/unlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/unlink.c')
-rw-r--r--test/unlink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unlink.c b/test/unlink.c
index 05d8831..7bfb5e9 100644
--- a/test/unlink.c
+++ b/test/unlink.c
@@ -453,8 +453,7 @@ check_new_move(void)
puts(" Unexpected object type, should have been a group");
goto error;
}
- if( sb_hard1.objno[0]!=sb_hard2.objno[0] ||
- sb_hard1.objno[1]!=sb_hard2.objno[1] ) {
+ if( sb_hard1.objno!=sb_hard2.objno) {
H5_FAILED();
puts(" Hard link test failed. Link seems not to point to the ");
puts(" expected file location.");