From 6e1cef07fbd5c2d9330110186c2d5ca9301ee8b0 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Tue, 24 Apr 2012 20:02:54 +0000 Subject: [PATCH] run_test hangs on MSYS (#1788) git-svn-id: http://svn.osgeo.org/postgis/trunk@9662 b70326c6-7e19-0410-871a-916f4a2858ee --- regress/run_test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regress/run_test b/regress/run_test index 753be3759..9c1b20be4 100755 --- a/regress/run_test +++ b/regress/run_test @@ -205,7 +205,7 @@ run_simple_test () # Use only one call to sed to work around MSYS buffering problem # and use fewer calls to grep for the same problem. MSYS only accepts # about 16 redirects before hanging. - ${PSQL} -v "VERBOSITY=terse" -v "tmpfile='${TMPFILE}'" -f "${_sql}" -tXA -d ${DB} 2>&1 \ + ${PSQL} -v "VERBOSITY=terse" -v "tmpfile='${TMPFILE}'" -tXA ${DB} < "${_sql}" 2>&1 \ | grep --binary-files=text -v "^$" \ | grep --binary-files=text -v "^\(INSERT\|DELETE\|UPDATE\|SELECT\)" \ | grep --binary-files=text -v "^\(CONTEXT\|RESET\|ANALYZE\)" \ -- 2.40.0