diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-09-01 03:35:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-09-01 03:35:23 (GMT) |
commit | 4aa79bb211349c6696677076c02b674275aff797 (patch) | |
tree | d78887d59edea5596c24cc9398a35eb2cc221cee /test/links.c | |
parent | 5aa61b6fcfc99ff4c6b3cfc1c639e062313564ee (diff) | |
download | hdf5-4aa79bb211349c6696677076c02b674275aff797.zip hdf5-4aa79bb211349c6696677076c02b674275aff797.tar.gz hdf5-4aa79bb211349c6696677076c02b674275aff797.tar.bz2 |
[svn-r641] Changed function names for beta release.
Diffstat (limited to 'test/links.c')
-rw-r--r-- | test/links.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/links.c b/test/links.c index 8fb55a3..0a0f807 100644 --- a/test/links.c +++ b/test/links.c @@ -176,8 +176,8 @@ cklinks(void) } /* Hard link */ - if (H5Gstat(file, "d1", TRUE, &sb1)<0) goto error; - if (H5Gstat(file, "grp1/hard", TRUE, &sb2)<0) goto error; + if (H5Gget_stat(file, "d1", TRUE, &sb1)<0) goto error; + if (H5Gget_stat(file, "grp1/hard", TRUE, &sb2)<0) goto error; if (H5G_DATASET!=sb2.type) { puts("*FAILED*"); puts(" Unexpected object type should have been a dataset"); @@ -191,7 +191,7 @@ cklinks(void) } /* Symbolic link */ - if (H5Gstat(file, "grp1/soft", TRUE, &sb2)<0) goto error; + if (H5Gget_stat(file, "grp1/soft", TRUE, &sb2)<0) goto error; if (H5G_DATASET!=sb2.type) { puts("*FAILED*"); puts(" Unexpected object type should have been a dataset"); @@ -214,14 +214,14 @@ cklinks(void) /* Dangling link */ H5E_BEGIN_TRY { - status = H5Gstat(file, "grp1/dangle", TRUE, &sb2); + status = H5Gget_stat(file, "grp1/dangle", TRUE, &sb2); } H5E_END_TRY; if (status>=0) { puts("*FAILED*"); - puts(" H5Gstat() should have failed for a dangling link."); + puts(" H5Gget_stat() should have failed for a dangling link."); goto error; } - if (H5Gstat(file, "grp1/dangle", FALSE, &sb2)<0) goto error; + if (H5Gget_stat(file, "grp1/dangle", FALSE, &sb2)<0) goto error; if (H5G_LINK!=sb2.type) { puts("*FAILED*"); puts(" Unexpected object type should have been a symbolic link"); @@ -238,14 +238,14 @@ cklinks(void) /* Recursive link */ H5E_BEGIN_TRY { - status = H5Gstat(file, "grp1/recursive", TRUE, &sb2); + status = H5Gget_stat(file, "grp1/recursive", TRUE, &sb2); } H5E_END_TRY; if (status>=0) { puts("*FAILED*"); - puts(" H5Gstat() should have failed for a recursive link."); + puts(" H5Gget_stat() should have failed for a recursive link."); goto error; } - if (H5Gstat(file, "grp1/recursive", FALSE, &sb2)<0) goto error; + if (H5Gget_stat(file, "grp1/recursive", FALSE, &sb2)<0) goto error; if (H5G_LINK!=sb2.type) { puts("*FAILED*"); puts(" Unexpected object type should have been a symbolic link"); |