aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>2000-11-11 19:56:20 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>2000-11-11 19:56:20 +0000
commita669bd74eec487202c08093c7dfc6b245a43abb7 (patch)
tree3d90e20bad9a0fa209905fd3beb189cc8f9a8d4c
parent17d63245c7d2dac20ed133c3fd01b5c144461873 (diff)
downloadpostgresql-a669bd74eec487202c08093c7dfc6b245a43abb7.tar.gz
postgresql-a669bd74eec487202c08093c7dfc6b245a43abb7.zip
Check for existence of the results directory before invoking mkdir.
-rwxr-xr-xsrc/test/regress/regress.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/regress.sh b/src/test/regress/regress.sh
index 63deead3d5d..541ffca0d49 100755
--- a/src/test/regress/regress.sh
+++ b/src/test/regress/regress.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.55 2000/10/07 14:55:16 momjian Exp $
+# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.56 2000/11/11 19:56:20 thomas Exp $
#
if [ $# -eq 0 ]; then
echo "Syntax: $0 <hostname> [extra-tests]"
@@ -66,7 +66,7 @@ if [ -d ./obj ]; then
cd ./obj
fi
-mkdir results
+[ -d results ] || mkdir results
echo "=============== Notes... ================="
echo "postmaster must already be running for the regression tests to succeed."