From 9ad5f7e3a9f17368afc60143e39daf0d101742d7 Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Mon, 6 May 2024 16:33:09 -0500 Subject: [PATCH] Use ADD_H5_ERR_TEST to not compare output (#4464) --- tools/test/h5stat/CMakeTests.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test/h5stat/CMakeTests.cmake b/tools/test/h5stat/CMakeTests.cmake index cfd9be7f6d3..f6287406ee8 100644 --- a/tools/test/h5stat/CMakeTests.cmake +++ b/tools/test/h5stat/CMakeTests.cmake @@ -179,7 +179,7 @@ ADD_H5_TEST (h5stat_help2 0 --help) # Test when h5stat a file that does not exist - ADD_H5_CMP_TEST (h5stat_notexist 1 "unable to open file" notexist.h5) + ADD_H5_ERR_TEST (h5stat_notexist 1 "unable to open file" notexist.h5) ADD_H5_CMP_TEST (h5stat_nofile 1 "missing file name" '') # Test file with groups, compressed datasets, user-applied filters, etc.