diff options
Diffstat (limited to 'test/trefer.c')
-rw-r--r-- | test/trefer.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/trefer.c b/test/trefer.c index 6183c88..21877ee 100644 --- a/test/trefer.c +++ b/test/trefer.c @@ -12,8 +12,6 @@ * access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -/* $Id$ */ - /*********************************************************** * * Test program: trefer @@ -242,10 +240,8 @@ test_reference_obj(void) CHECK(ret, FAIL, "H5Gget_comment"); /* Check for correct comment value */ - if(HDstrcmp(write_comment,read_comment)!=0) { - num_errs++; - MESSAGE(0, ("Error! Incorrect group comment, wanted: %s, got: %s",write_comment,read_comment)); - } + if(HDstrcmp(write_comment,read_comment)!=0) + TestErrPrintf("Error! Incorrect group comment, wanted: %s, got: %s\n",write_comment,read_comment); /* Close group */ ret = H5Gclose(group); |