diff --git a/nc_test4/CMakeLists.txt b/nc_test4/CMakeLists.txt index 3160cf096..d4f97bfd7 100644 --- a/nc_test4/CMakeLists.txt +++ b/nc_test4/CMakeLists.txt @@ -20,7 +20,7 @@ SET(NC4_TESTS tst_dims tst_dims2 tst_dims3 tst_files tst_files4 tst_files6 tst_sync tst_h_strbug tst_h_refs tst_h_scalar tst_rename tst_rename2 tst_rename3 tst_h5_endians tst_atts_string_rewrite tst_put_vars_two_unlim_dim tst_hdf5_file_compat tst_fill_attr_vanish tst_rehash tst_types tst_bug324 - tst_atts3 tst_put_vars tst_elatefill tst_udf tst_bug1442 tst_charvlenbug.c) + tst_atts3 tst_put_vars tst_elatefill tst_udf tst_bug1442) # Note, renamegroup needs to be compiled before run_grp_rename @@ -28,6 +28,7 @@ IF(BUILD_UTILITIES) SET(NC4_TESTS ${NC4_TESTS} tst_xplatform) build_bin_test(renamegroup) add_sh_test(nc_test4 run_grp_rename) + build_bin_test(tst_charvlenbug) ADD_SH_TEST(nc_test4 tst_misc) build_bin_test(tst_fillonly) ADD_SH_TEST(nc_test4 test_fillonly) diff --git a/nc_test4/tst_misc.sh b/nc_test4/tst_misc.sh index ed91dff96..1e594d3fd 100755 --- a/nc_test4/tst_misc.sh +++ b/nc_test4/tst_misc.sh @@ -17,7 +17,7 @@ ECODE=1 fi echo "*** Testing char(*) type printout error in ncdump" -rm -f tst_charvlenbug.nc ./tmp +rm -f ./tst_charvlenbug.nc ./tmp ${execdir}/tst_charvlenbug if $NCDUMP ./tst_charvlenbug.nc 2>1 >./tmp ; then echo "*** Pass: char(*) ncdump printout"