summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2013-09-28 20:40:01 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2013-09-28 20:40:01 (GMT)
commitbbd9ad0b277057d43ea80f7d640f880e888bd2fa (patch)
tree60d9eba1ef79fd56f0a6b5d05c9b3ba76061108c /test
parent421e7549a51278be725053146d76d3e631917f44 (diff)
downloadhdf5-bbd9ad0b277057d43ea80f7d640f880e888bd2fa.zip
hdf5-bbd9ad0b277057d43ea80f7d640f880e888bd2fa.tar.gz
hdf5-bbd9ad0b277057d43ea80f7d640f880e888bd2fa.tar.bz2
[svn-r24214] Put in proper error message if unexpected switch values happened.
Tested: h5committest.
Diffstat (limited to 'test')
-rw-r--r--test/big.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/big.c b/test/big.c
index 831a2ed..7465e47 100644
--- a/test/big.c
+++ b/test/big.c
@@ -395,7 +395,8 @@ writer (char* filename, hid_t fapl, fsizes_t testsize, int wrt_n)
break;
default:
- HDassert(0 && "Invalid test size.");
+ HDfprintf(stdout, "Unexpected file size(%d)\n", testsize);
+ goto error;
break;
}