From: Sandro Santilli Date: Fri, 24 Feb 2012 15:23:13 +0000 (+0000) Subject: Rename the backend temp dir and drop with brute force X-Git-Tag: 2.0.0beta1~72 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8d152cd66603945f04e937206047c5b5c5fa7cd;p=postgis Rename the backend temp dir and drop with brute force Avoids errors when no test writes anything in there (so no dir) git-svn-id: http://svn.osgeo.org/postgis/trunk@9284 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/run_test b/regress/run_test index 0168f93a3..c4dea7cd3 100755 --- a/regress/run_test +++ b/regress/run_test @@ -195,7 +195,7 @@ run_simple_test () show_progress OUTFILE="${TMPDIR}/test_${RUN}_out" - BETMPDIR="${TMPDIR}/tmp/" + BETMPDIR="${TMPDIR}/pgis_reg_tmp/" TMPFILE="${BETMPDIR}/test_${RUN}_tmp" DIFFILE="${TMPDIR}/test_${RUN}_diff" @@ -220,8 +220,7 @@ run_simple_test () | sed 's/Self-intersection .*/Self-intersection/' \ | sed 's/^ROLLBACK/COMMIT/' \ > "${OUTFILE}" - rm -f "${BETMPDIR}/"* # should we keep these ? - rmdir "${BETMPDIR}" # should we keep this ? + rm -rf "${BETMPDIR}" # should we keep these ? if test x"$OPT_EXPECT" = "xyes"; then echo_inline " expected"