diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-03-22 17:39:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-03-22 17:39:12 (GMT) |
commit | 161a3b95165957b772e56b6f84fe7923fd3ddd11 (patch) | |
tree | b777f0f967be48a10d6e53343213ffa66086090e /test/testflushrefresh.sh.in | |
parent | 9c606c3d901f4190e456730266f25b0a65c88ab9 (diff) | |
parent | 30d5cf6c96d937b0ef5c97b43951ac778847d74c (diff) | |
download | hdf5-161a3b95165957b772e56b6f84fe7923fd3ddd11.zip hdf5-161a3b95165957b772e56b6f84fe7923fd3ddd11.tar.gz hdf5-161a3b95165957b772e56b6f84fe7923fd3ddd11.tar.bz2 |
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop
Diffstat (limited to 'test/testflushrefresh.sh.in')
-rw-r--r-- | test/testflushrefresh.sh.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/testflushrefresh.sh.in b/test/testflushrefresh.sh.in index e7917a0..d894cee 100644 --- a/test/testflushrefresh.sh.in +++ b/test/testflushrefresh.sh.in @@ -84,7 +84,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 -p flushrefresh_test/.libs +mkdir flushrefresh_test cp flushrefresh flushrefresh_test # With the --disable-shared option, flushrefresh is built in the test directory, @@ -92,6 +92,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 cp .libs/flushrefresh flushrefresh_test/.libs fi cd flushrefresh_test @@ -210,6 +211,10 @@ fi if test $nerrors -eq 0 ; then echo "flush/refresh objects tests passed." + if test -z "$HDF5_NOCLEANUP"; then + # delete the test directory + rm -rf flushrefresh_test + fi exit 0 else echo "flush/refresh objects tests failed with $nerrors errors." |