diff options
author | Quincey Koziol <koziol@lbl.gov> | 2020-12-17 03:36:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 03:36:13 (GMT) |
commit | 3f37f6648dcb868fdbd7f94658ad1cd965ae257c (patch) | |
tree | a922501d6c0bc59dcbf45e8b9b2b90028aca885b /test/testflushrefresh.sh.in | |
parent | 068136351c3d52d12c6dd55f5d4185b700e9b5c4 (diff) | |
download | hdf5-3f37f6648dcb868fdbd7f94658ad1cd965ae257c.zip hdf5-3f37f6648dcb868fdbd7f94658ad1cd965ae257c.tar.gz hdf5-3f37f6648dcb868fdbd7f94658ad1cd965ae257c.tar.bz2 |
Fix datatype lookup in named datatype flush/refresh code and detect more core dumps in test scripts (#193)hdf5-1_13_0-rc3
* Detect coredumps, and avoid printing a warning when creating a directory that already exists
* Retrieve the actual datatype object correctly, in the face of possible pass-through VOL connectors
* Detect more core dumps, and tiny formatting cleanup
* Revert error status checks for mirror VFD test script
Diffstat (limited to 'test/testflushrefresh.sh.in')
-rw-r--r-- | test/testflushrefresh.sh.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/test/testflushrefresh.sh.in b/test/testflushrefresh.sh.in index 3cdf10f..be44a13 100644 --- a/test/testflushrefresh.sh.in +++ b/test/testflushrefresh.sh.in @@ -82,7 +82,7 @@ fi # different, occasionally the wrong file is deleted, interrupting the flow of # the test. Running each of these tests in its own directory should eliminate # the problem. -mkdir flushrefresh_test +mkdir -p flushrefresh_test cp flushrefresh flushrefresh_test # With the --disable-shared option, flushrefresh is built in the test directory, @@ -90,7 +90,7 @@ cp flushrefresh flushrefresh_test # the test directory. test/flushrefresh should always be copied, # .libs/flushrefresh should be copied only if it exists. if [ -f .libs/flushrefresh ]; then - mkdir flushrefresh_test/.libs + mkdir -p flushrefresh_test/.libs for FILE in .libs/flushrefresh*; do case "$FILE" in *.o) continue ;; ## don't copy the .o files @@ -156,6 +156,12 @@ until [ $verification_done -eq 1 ]; do echo "all flush verification complete" > $endsignal else ./flushrefresh $param1 $param2 + + # Check for core dump + if [ $? -gt 0 ]; then + nerrors=`expr $nerrors + 1` + fi + echo "verification flush process done" > $endsignal fi @@ -195,6 +201,12 @@ if [ $timedout -eq 0 ]; then echo "all refresh verification complete" > $endsignal else ./flushrefresh $param1 + + # Check for core dump + if [ $? -gt 0 ]; then + nerrors=`expr $nerrors + 1` + fi + echo "refresh verifiction process done" > $endsignal fi |