diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-08-18 23:54:07 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-08-18 23:54:07 (GMT) |
commit | de2119f39e3254cd034e2f8734f8ffc68d5bea65 (patch) | |
tree | 8e09657c8cc8daebe414817273b244a05876b20e /hl | |
parent | 28fa4fa8ee4d942a0d9f3343139d0da39a82c359 (diff) | |
download | hdf5-de2119f39e3254cd034e2f8734f8ffc68d5bea65.zip hdf5-de2119f39e3254cd034e2f8734f8ffc68d5bea65.tar.gz hdf5-de2119f39e3254cd034e2f8734f8ffc68d5bea65.tar.bz2 |
Correct test logic
Diffstat (limited to 'hl')
-rw-r--r-- | hl/test/test_lite.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hl/test/test_lite.c b/hl/test/test_lite.c index e6b4668..d6999ff 100644 --- a/hl/test/test_lite.c +++ b/hl/test/test_lite.c @@ -2065,11 +2065,11 @@ static int test_valid_path(void) * CHECK ABSOLUTE PATHS **************************************/ - if( (path_valid = H5LTpath_valid(file_id, "/", TRUE)) != TRUE) { + if( (path_valid = H5LTpath_valid(file_id, "/", TRUE)) != FALSE) { goto out; } - if( (path_valid = H5LTpath_valid(file_id, "/", FALSE)) != TRUE) { + if( (path_valid = H5LTpath_valid(file_id, "/", FALSE)) != FALSE) { goto out; } @@ -2121,12 +2121,12 @@ static int test_valid_path(void) if( (group = H5Gopen2(file_id, "/", H5P_DEFAULT)) < 0) goto out; - - if( (path_valid = H5LTpath_valid(group, "/", TRUE)) != TRUE) { + + if( (path_valid = H5LTpath_valid(group, "/", TRUE)) != FALSE) { goto out; } - if( (path_valid = H5LTpath_valid(group, "/", FALSE)) != TRUE) { + if( (path_valid = H5LTpath_valid(group, "/", FALSE)) != FALSE) { goto out; } |